Class EmlParseException

Namespace
Wolfgang.Extensions.Mail
Assembly
Wolfgang.Extensions.Mail.dll

Thrown by EmlParser when a malformed construct is encountered while parsing in strict mode (see Strict).

public sealed class EmlParseException : FormatException, ISerializable
Inheritance
EmlParseException
Implements
Inherited Members

Remarks

Derives from FormatException so existing callers that catch FormatException around parse calls continue to work.

Constructors

EmlParseException()

Initializes a new instance of the EmlParseException class.

public EmlParseException()

EmlParseException(string)

Initializes a new instance of the EmlParseException class with a message describing the malformed construct.

public EmlParseException(string message)

Parameters

message string

A message describing the parse failure.

EmlParseException(string, Exception)

Initializes a new instance of the EmlParseException class with a message and the underlying exception that caused the failure.

public EmlParseException(string message, Exception innerException)

Parameters

message string

A message describing the parse failure.

innerException Exception

The exception that caused this failure.