# GrapeCity.Documents.Html.HtmlException

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Html_HtmlException" data-uid="GrapeCity.Documents.Html.HtmlException" class="text-break">HtmlException Class
</h1>
  <div class="markdown level0 summary"><p>Identifies exceptions thrown by <a class="xref" href="GrapeCity.Documents.Html.GcHtmlBrowser.html">GcHtmlBrowser</a>.</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">HtmlException</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.Documents.Html.html">GrapeCity.Documents.Html</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Html.dll</h6>
  <h5 id="GrapeCity_Documents_Html_HtmlException_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class HtmlException : Exception, ISerializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class HtmlException
    Inherits Exception
    Implements 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_Documents_Html_HtmlException__ctor" data-uid="GrapeCity.Documents.Html.HtmlException.#ctor">
          <a class="xref" href="GrapeCity.Documents.Html.HtmlException.-ctor.html#GrapeCity_Documents_Html_HtmlException__ctor">HtmlException()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Html.HtmlException.html">HtmlException</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_HtmlException__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="GrapeCity.Documents.Html.HtmlException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="GrapeCity.Documents.Html.HtmlException.-ctor.html#GrapeCity_Documents_Html_HtmlException__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">HtmlException(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Html.HtmlException.html">HtmlException</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_HtmlException__ctor_System_String_" data-uid="GrapeCity.Documents.Html.HtmlException.#ctor(System.String)">
          <a class="xref" href="GrapeCity.Documents.Html.HtmlException.-ctor.html#GrapeCity_Documents_Html_HtmlException__ctor_System_String_">HtmlException(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Html.HtmlException.html">HtmlException</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Html_HtmlException__ctor_System_String_System_Exception_" data-uid="GrapeCity.Documents.Html.HtmlException.#ctor(System.String,System.Exception)">
          <a class="xref" href="GrapeCity.Documents.Html.HtmlException.-ctor.html#GrapeCity_Documents_Html_HtmlException__ctor_System_String_System_Exception_">HtmlException(string, Exception)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Html.HtmlException.html">HtmlException</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
