# GrapeCity.ActiveReports.ReportException

## Content

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



  <h1 id="GrapeCity_ActiveReports_ReportException" data-uid="GrapeCity.ActiveReports.ReportException" class="text-break">ReportException Class
</h1>
  <div class="markdown level0 summary"><p>This exception or one of its descendent classes is thrown when an error occurs while running the report.</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.applicationexception">ApplicationException</a></div>
    <div class="level3"><span class="xref">ReportException</span></div>
      <div class="level4"><a class="xref" href="GrapeCity.ActiveReports.ReportDataException.html">ReportDataException</a></div>
      <div class="level4"><a class="xref" href="GrapeCity.ActiveReports.ReportScriptException.html">ReportScriptException</a></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.html">GrapeCity.ActiveReports</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.dll</h6>
  <h5 id="GrapeCity_ActiveReports_ReportException_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ReportException : ApplicationException, 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_ReportException__ctor" data-uid="GrapeCity.ActiveReports.ReportException.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.ReportException.-ctor.html#GrapeCity_ActiveReports_ReportException__ctor">ReportException()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.ReportException.html">ReportException</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_ReportException__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="GrapeCity.ActiveReports.ReportException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="GrapeCity.ActiveReports.ReportException.-ctor.html#GrapeCity_ActiveReports_ReportException__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">ReportException(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.ReportException.html">ReportException</a> class with serialized data.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_ReportException__ctor_System_String_" data-uid="GrapeCity.ActiveReports.ReportException.#ctor(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.ReportException.-ctor.html#GrapeCity_ActiveReports_ReportException__ctor_System_String_">ReportException(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.ReportException.html">ReportException</a> class with a specified error message.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_ReportException__ctor_System_String_System_Exception_" data-uid="GrapeCity.ActiveReports.ReportException.#ctor(System.String,System.Exception)">
          <a class="xref" href="GrapeCity.ActiveReports.ReportException.-ctor.html#GrapeCity_ActiveReports_ReportException__ctor_System_String_System_Exception_">ReportException(string, Exception)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.ReportException.html">ReportException</a> class with a specified error message and a reference to the inner exception that is the cause of this exception.</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_ReportException_ErrorCode" data-uid="GrapeCity.ActiveReports.ReportException.ErrorCode">
          <a class="xref" href="GrapeCity.ActiveReports.ReportException.ErrorCode.html#GrapeCity_ActiveReports_ReportException_ErrorCode">ErrorCode</a>
        </td>
        <td class="markdown level1 summary"><p>Error code for future detail processing.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_ReportException_ErrorData" data-uid="GrapeCity.ActiveReports.ReportException.ErrorData">
          <a class="xref" href="GrapeCity.ActiveReports.ReportException.ErrorData.html#GrapeCity_ActiveReports_ReportException_ErrorData">ErrorData</a>
        </td>
        <td class="markdown level1 summary"><p>Error data, depends on error code.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.ApplyDefaults.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_ApplyDefaults__1___0_">ObjectExtensions.ApplyDefaults&lt;TObject&gt;(TObject)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.SetValue.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_SetValue__1___0_System_ComponentModel_PropertyDescriptor_System_String_">ObjectExtensions.SetValue&lt;TObject&gt;(TObject, PropertyDescriptor, string)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.ToNameValueCollection.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_ToNameValueCollection_System_Object_">ObjectExtensions.ToNameValueCollection(object)</a>
  </div>

</div>
