# GrapeCity.ActiveReports.BarCodes.BarCodeException

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_BarCodes_BarCodeException" data-uid="GrapeCity.ActiveReports.BarCodes.BarCodeException" class="text-break">BarCodeException Class
</h1>
  <div class="markdown level0 summary"><p>The exception thrown when an error is caused by an inapplicable value of the barcode control.</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">BarCodeException</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>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.BarCodes.html">GrapeCity.ActiveReports.BarCodes</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Rendering.dll</h6>
  <h5 id="GrapeCity_ActiveReports_BarCodes_BarCodeException_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class BarCodeException : Exception, ISerializable</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="GrapeCity_ActiveReports_BarCodes_BarCodeException__ctor_GrapeCity_ActiveReports_BarCodes_BarCodeException_ErrorCodes_" data-uid="GrapeCity.ActiveReports.BarCodes.BarCodeException.#ctor(GrapeCity.ActiveReports.BarCodes.BarCodeException.ErrorCodes)">
          <a class="xref" href="GrapeCity.ActiveReports.BarCodes.BarCodeException.-ctor.html#GrapeCity_ActiveReports_BarCodes_BarCodeException__ctor_GrapeCity_ActiveReports_BarCodes_BarCodeException_ErrorCodes_">BarCodeException(ErrorCodes)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates new <a class="xref" href="GrapeCity.ActiveReports.BarCodes.BarCodeException.html">BarCodeException</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_BarCodes_BarCodeException__ctor_GrapeCity_ActiveReports_BarCodes_BarCodeException_ErrorCodes_System_Object___" data-uid="GrapeCity.ActiveReports.BarCodes.BarCodeException.#ctor(GrapeCity.ActiveReports.BarCodes.BarCodeException.ErrorCodes,System.Object[])">
          <a class="xref" href="GrapeCity.ActiveReports.BarCodes.BarCodeException.-ctor.html#GrapeCity_ActiveReports_BarCodes_BarCodeException__ctor_GrapeCity_ActiveReports_BarCodes_BarCodeException_ErrorCodes_System_Object___">BarCodeException(ErrorCodes, params object[])</a>
        </td>
        <td class="markdown level1 summary"><p>Creates new <a class="xref" href="GrapeCity.ActiveReports.BarCodes.BarCodeException.html">BarCodeException</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_BarCodes_BarCodeException__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="GrapeCity.ActiveReports.BarCodes.BarCodeException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="GrapeCity.ActiveReports.BarCodes.BarCodeException.-ctor.html#GrapeCity_ActiveReports_BarCodes_BarCodeException__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">BarCodeException(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Enables environments where serialization is required to initialize instances of the <a class="xref" href="GrapeCity.ActiveReports.BarCodes.BarCodeException.html">BarCodeException</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_BarCodes_BarCodeException_ErrorCode" data-uid="GrapeCity.ActiveReports.BarCodes.BarCodeException.ErrorCode">
          <a class="xref" href="GrapeCity.ActiveReports.BarCodes.BarCodeException.ErrorCode.html#GrapeCity_ActiveReports_BarCodes_BarCodeException_ErrorCode">ErrorCode</a>
        </td>
        <td class="markdown level1 summary"><p>Error code of current exception.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_BarCodes_BarCodeException_Message" data-uid="GrapeCity.ActiveReports.BarCodes.BarCodeException.Message">
          <a class="xref" href="GrapeCity.ActiveReports.BarCodes.BarCodeException.Message.html#GrapeCity_ActiveReports_BarCodes_BarCodeException_Message">Message</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a message that describes the current exception.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.Tools.ObjectExtensions.IsNumber.html#GrapeCity_ActiveReports_Core_Rendering_Tools_ObjectExtensions_IsNumber_System_Object_">ObjectExtensions.IsNumber(object)</a>
  </div>

</div>
