# FarPoint.Excel.ExcelException

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Excel_ExcelException" data-uid="FarPoint.Excel.ExcelException" class="text-break">ExcelException Class
</h1>
  <div class="markdown level0 summary"><p>Represents the exceptions arising from loading or saving Excel files.</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"><span class="xref">ExcelException</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="FarPoint.Excel.html">FarPoint.Excel</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Excel.dll</h6>
  <h5 id="FarPoint_Excel_ExcelException_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ExcelException : SystemException, ISerializable, _Exception</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ExcelException
    Inherits SystemException
    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="FarPoint_Excel_ExcelException__ctor" data-uid="FarPoint.Excel.ExcelException.#ctor">
          <a class="xref" href="FarPoint.Excel.ExcelException.-ctor.html#FarPoint_Excel_ExcelException__ctor">ExcelException()</a>
        </td>
        <td class="markdown level1 summary"><p>Default constructor - internal use</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Excel_ExcelException__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Excel.ExcelException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Excel.ExcelException.-ctor.html#FarPoint_Excel_ExcelException__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">ExcelException(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Constructor - internal use</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Excel_ExcelException__ctor_System_String_" data-uid="FarPoint.Excel.ExcelException.#ctor(System.String)">
          <a class="xref" href="FarPoint.Excel.ExcelException.-ctor.html#FarPoint_Excel_ExcelException__ctor_System_String_">ExcelException(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Constructor - internal use</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Excel_ExcelException__ctor_System_String_FarPoint_Excel_ExcelExceptionCode_" data-uid="FarPoint.Excel.ExcelException.#ctor(System.String,FarPoint.Excel.ExcelExceptionCode)">
          <a class="xref" href="FarPoint.Excel.ExcelException.-ctor.html#FarPoint_Excel_ExcelException__ctor_System_String_FarPoint_Excel_ExcelExceptionCode_">ExcelException(string, ExcelExceptionCode)</a>
        </td>
        <td class="markdown level1 summary"><p>Constructor - internal use</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Excel_ExcelException__ctor_System_String_FarPoint_Excel_ExcelExceptionCode_System_Int64_" data-uid="FarPoint.Excel.ExcelException.#ctor(System.String,FarPoint.Excel.ExcelExceptionCode,System.Int64)">
          <a class="xref" href="FarPoint.Excel.ExcelException.-ctor.html#FarPoint_Excel_ExcelException__ctor_System_String_FarPoint_Excel_ExcelExceptionCode_System_Int64_">ExcelException(string, ExcelExceptionCode, long)</a>
        </td>
        <td class="markdown level1 summary"><p>Constructor - internal use</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Excel_ExcelException__ctor_System_String_System_Exception_" data-uid="FarPoint.Excel.ExcelException.#ctor(System.String,System.Exception)">
          <a class="xref" href="FarPoint.Excel.ExcelException.-ctor.html#FarPoint_Excel_ExcelException__ctor_System_String_System_Exception_">ExcelException(string, Exception)</a>
        </td>
        <td class="markdown level1 summary"><p>Constructor - internal use</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="FarPoint_Excel_ExcelException_Code" data-uid="FarPoint.Excel.ExcelException.Code">
          <a class="xref" href="FarPoint.Excel.ExcelException.Code.html#FarPoint_Excel_ExcelException_Code">Code</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the ExcelExceptionCode enumeration member set for this Excel exception.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Excel_ExcelException_HRSet" data-uid="FarPoint.Excel.ExcelException.HRSet">
          <a class="xref" href="FarPoint.Excel.ExcelException.HRSet.html#FarPoint_Excel_ExcelException_HRSet">HRSet</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the <a class="xref" href="FarPoint.Excel.ExcelException.HResult.html#FarPoint_Excel_ExcelException_HResult">HResult</a> property is set.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Excel_ExcelException_HResult" data-uid="FarPoint.Excel.ExcelException.HResult">
          <a class="xref" href="FarPoint.Excel.ExcelException.HResult.html#FarPoint_Excel_ExcelException_HResult">HResult</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the HRESULT, a coded numerical value that is associated with this Excel exception.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Excel_ExcelException_Message" data-uid="FarPoint.Excel.ExcelException.Message">
          <a class="xref" href="FarPoint.Excel.ExcelException.Message.html#FarPoint_Excel_ExcelException_Message">Message</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the text message associated with this Excel exception.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
