# CSJ2K.j2k.NoNextElementException

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="CSJ2K_j2k_NoNextElementException" data-uid="CSJ2K.j2k.NoNextElementException" class="text-break">NoNextElementException Class
</h1>
  <div class="markdown level0 summary"><p>This exception is thrown whenever a next???? method is called and
there is no next element to return.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a></div>
    <div class="level2"><span class="xref">NoNextElementException</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.interopservices._exception">_Exception</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="CSJ2K.j2k.html">CSJ2K.j2k</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.ReportViewer.4.6.2.dll</h6>
  <h5 id="CSJ2K_j2k_NoNextElementException_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class NoNextElementException : Exception, ISerializable, _Exception</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class NoNextElementException
    Inherits Exception
    Implements ISerializable, _Exception</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="CSJ2K_j2k_NoNextElementException__ctor" data-uid="CSJ2K.j2k.NoNextElementException.#ctor">
          <a class="xref" href="CSJ2K.j2k.NoNextElementException.-ctor.html#CSJ2K_j2k_NoNextElementException__ctor">NoNextElementException()</a>
        </td>
        <td class="markdown level1 summary"><p>Constructs a new <tt>NoNextElementException</tt> exception with no
detail message.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_NoNextElementException__ctor_System_String_" data-uid="CSJ2K.j2k.NoNextElementException.#ctor(System.String)">
          <a class="xref" href="CSJ2K.j2k.NoNextElementException.-ctor.html#CSJ2K_j2k_NoNextElementException__ctor_System_String_">NoNextElementException(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Constructs a new <tt>NoNextElementException</tt> exception with
the specified detail message.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
