Documentation
Table of Contents

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

format string

The format's name, such as "json".

detail string

What is wrong with the text.

line int?

The 1-based line of the problem, or null when unknown.

Exceptions

ArgumentNullException

format or detail is 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

format string

The format's name, such as "json".

detail string

What is wrong with the text.

line int?

The 1-based line of the problem, or null when unknown.

innerException Exception

The exception the format's reader raised.

Exceptions

ArgumentNullException

format or detail is null.