PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​CustomInvalid­Formatting­String­Exception
Open sandboxFocus

InvalidFormattingStringException Class

Exception thrown by the FormattingStringParser and by the Logger class when user code provides an invalid formatting string.

Inheritance
System.Object
InvalidFormattingStringException
Namespace: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common.dll
Syntax
public class InvalidFormattingStringException : FormatException

Constructors

Name Description
InvalidFormattingStringException()

Initializes a new InvalidFormattingStringException with the default error message.

InvalidFormattingStringException(SerializationInfo, StreamingContext)

Deserialization constructor.

InvalidFormattingStringException(String)

Initializes a new InvalidFormattingStringException and specifies the error message.

InvalidFormattingStringException(String, Exception)

Initializes a new InvalidFormattingStringException and specifies the error message and the inner Exception.