Constructor DocumentFormatException
- Namespace
- IntentSharp.Documents
- Assembly
- IntentSharp.dll
DocumentFormatException(string, string, int?)
Creates the exception for text that is not valid in a format.
public DocumentFormatException(string format, string detail, int? line = null)
Parameters
formatstringThe format's name, such as
"json".detailstringWhat is wrong with the text.
lineint?The 1-based line of the problem, or null when unknown.
Exceptions
- ArgumentNullException
formatordetailis null.
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.
public DocumentFormatException(string format, string detail, int? line, Exception innerException)
Parameters
formatstringThe format's name, such as
"json".detailstringWhat is wrong with the text.
lineint?The 1-based line of the problem, or null when unknown.
innerExceptionExceptionThe exception the format's reader raised.
Exceptions
- ArgumentNullException
formatordetailis null.