# FarPoint.Win.Spread.Model.ParseException.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_Model_ParseException__ctor_" data-uid="FarPoint.Win.Spread.Model.ParseException.#ctor*">ParseException Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_Model_ParseException__ctor_" data-uid="FarPoint.Win.Spread.Model.ParseException.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Model_ParseException__ctor" data-uid="FarPoint.Win.Spread.Model.ParseException.#ctor">ParseException()</h4>
<div class="markdown level1 summary"><p>Constructs a new instance of the ParseException class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ParseException()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="FarPoint_Win_Spread_Model_ParseException__ctor_" data-uid="FarPoint.Win.Spread.Model.ParseException.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Model_ParseException__ctor_System_String_" data-uid="FarPoint.Win.Spread.Model.ParseException.#ctor(System.String)">ParseException(string)</h4>
<div class="markdown level1 summary"><p>Constructs a new instance of the ParseException class
with the specified message.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ParseException(string message)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(message As String)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">message</span></td>
      <td><p>Message that describes this exception</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Model_ParseException__ctor_" data-uid="FarPoint.Win.Spread.Model.ParseException.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Model_ParseException__ctor_System_String_System_Exception_" data-uid="FarPoint.Win.Spread.Model.ParseException.#ctor(System.String,System.Exception)">ParseException(string, Exception)</h4>
<div class="markdown level1 summary"><p>Constructs a new instance of the ParseException class
with the specified message and inner exception.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ParseException(string message, Exception innerException)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(message As String, innerException As Exception)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">message</span></td>
      <td><p>Message that describes this exception</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.exception">Exception</a></td>
      <td><span class="parametername">innerException</span></td>
      <td><p>Earlier exception that causes this exception</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Model_ParseException__ctor_" data-uid="FarPoint.Win.Spread.Model.ParseException.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Model_ParseException__ctor_System_String_System_Int32_" data-uid="FarPoint.Win.Spread.Model.ParseException.#ctor(System.String,System.Int32)">ParseException(string, int)</h4>
<div class="markdown level1 summary"><p>Constructs a new instance of the ParseException class
with the specified message and offset.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ParseException(string message, int errorOffset)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(message As String, errorOffset As Integer)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">message</span></td>
      <td><p>Message that describes this exception</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">errorOffset</span></td>
      <td><p>Position where the error is found</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Model_ParseException__ctor_" data-uid="FarPoint.Win.Spread.Model.ParseException.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Model_ParseException__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.Model.ParseException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">ParseException(SerializationInfo, StreamingContext)</h4>
<div class="markdown level1 summary"><p>Constructs a new instance of the ParseException class with
serialized data.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected ParseException(SerializationInfo info, StreamingContext context)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Sub New(info As SerializationInfo, context As StreamingContext)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.serializationinfo">SerializationInfo</a></td>
      <td><span class="parametername">info</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.streamingcontext">StreamingContext</a></td>
      <td><span class="parametername">context</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
