Class DocumentFormatException
- Namespace
- IntentSharp.Documents
- Assembly
- IntentSharp.dll
Thrown by Parse(string) when a document's text is not valid in the format.
public sealed class DocumentFormatException : IntentSharpException, ISerializable
- Inheritance
-
objectExceptionDocumentFormatException
- Implements
-
ISerializable
- Inherited Members
-
Exception.GetBaseException()Exception.GetType()Exception.ToString()Exception.DataException.HelpLinkException.HResultException.InnerExceptionException.MessageException.SourceException.StackTraceException.TargetSiteobject.Equals(object)object.Equals(object, object)object.GetHashCode()object.ReferenceEquals(object, object)
- Extension Methods
Constructors
- DocumentFormatException(string, string, int?)
Creates the exception for text that is not valid in a format.
- DocumentFormatException(string, string, int?, Exception)
Creates the exception for text that is not valid in a format, with the exception the format's reader raised.
Properties
- Detail
What is wrong with the text, without the format's name or the line.
- Line
The 1-based line of the problem; null when unknown.