# GrapeCity.SpreadBuilder.ColumnCountOutOfRangeException

## Content

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



  <h1 id="GrapeCity_SpreadBuilder_ColumnCountOutOfRangeException" data-uid="GrapeCity.SpreadBuilder.ColumnCountOutOfRangeException" class="text-break">ColumnCountOutOfRangeException Class
</h1>
  <div class="markdown level0 summary"><p>Thrown when the number of columns is out of range in a certain Excel format.</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"><a class="xref" href="GrapeCity.SpreadBuilder.SpreadBuilderException.html">SpreadBuilderException</a></div>
    <div class="level4"><span class="xref">ColumnCountOutOfRangeException</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.SpreadBuilder.html">GrapeCity.SpreadBuilder</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.SpreadBuilder.dll</h6>
  <h5 id="GrapeCity_SpreadBuilder_ColumnCountOutOfRangeException_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ColumnCountOutOfRangeException : SpreadBuilderException, 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_SpreadBuilder_ColumnCountOutOfRangeException__ctor" data-uid="GrapeCity.SpreadBuilder.ColumnCountOutOfRangeException.#ctor">
          <a class="xref" href="GrapeCity.SpreadBuilder.ColumnCountOutOfRangeException.-ctor.html#GrapeCity_SpreadBuilder_ColumnCountOutOfRangeException__ctor">ColumnCountOutOfRangeException()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the ColumnCountOutOfRangeException class with a default error message.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_ColumnCountOutOfRangeException__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="GrapeCity.SpreadBuilder.ColumnCountOutOfRangeException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="GrapeCity.SpreadBuilder.ColumnCountOutOfRangeException.-ctor.html#GrapeCity_SpreadBuilder_ColumnCountOutOfRangeException__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">ColumnCountOutOfRangeException(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the ColumnCountOutOfRangeException class with serialized data.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_ColumnCountOutOfRangeException__ctor_System_String_" data-uid="GrapeCity.SpreadBuilder.ColumnCountOutOfRangeException.#ctor(System.String)">
          <a class="xref" href="GrapeCity.SpreadBuilder.ColumnCountOutOfRangeException.-ctor.html#GrapeCity_SpreadBuilder_ColumnCountOutOfRangeException__ctor_System_String_">ColumnCountOutOfRangeException(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the ColumnCountOutOfRangeException class with a specific error message.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
