# CSJ2K.j2k.codestream.CorruptedCodestreamException

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="CSJ2K_j2k_codestream_CorruptedCodestreamException" data-uid="CSJ2K.j2k.codestream.CorruptedCodestreamException" class="text-break">CorruptedCodestreamException Class
</h1>
  <div class="markdown level0 summary"><p>This exception is thrown whenever an illegal value is read from a bit
stream. The cause can be either a corrupted bit stream, or a a bit stream
which is illegal.</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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.systemexception">SystemException</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.ioexception">IOException</a></div>
    <div class="level4"><span class="xref">CorruptedCodestreamException</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.codestream.html">CSJ2K.j2k.codestream</a></h6>
  <h6><strong>Assembly</strong>: C1.C1Pdf.4.8.dll</h6>
  <h5 id="CSJ2K_j2k_codestream_CorruptedCodestreamException_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CorruptedCodestreamException : IOException, ISerializable, _Exception</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CorruptedCodestreamException
    Inherits IOException
    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_codestream_CorruptedCodestreamException__ctor" data-uid="CSJ2K.j2k.codestream.CorruptedCodestreamException.#ctor">
          <a class="xref" href="CSJ2K.j2k.codestream.CorruptedCodestreamException.-ctor.html#CSJ2K_j2k_codestream_CorruptedCodestreamException__ctor">CorruptedCodestreamException()</a>
        </td>
        <td class="markdown level1 summary"><p>Constructs a new <tt>CorruptedCodestreamException</tt> exception with
no detail message.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_codestream_CorruptedCodestreamException__ctor_System_String_" data-uid="CSJ2K.j2k.codestream.CorruptedCodestreamException.#ctor(System.String)">
          <a class="xref" href="CSJ2K.j2k.codestream.CorruptedCodestreamException.-ctor.html#CSJ2K_j2k_codestream_CorruptedCodestreamException__ctor_System_String_">CorruptedCodestreamException(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Constructs a new <tt>CorruptedCodestreamException</tt> exception with
the specified detail message.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
