PostSharp6.5//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace/Invalid­Formatting­String­Exception Class

InvalidFormattingStringException Class

Exception thrown by the FormattingStringParser and by the Logger class when user code provides an invalid formatting string.
Inheritance Hierarchy
System.Object
  System.Exception
    System.SystemException
      System.FormatException
        PostSharp.Patterns.Diagnostics.Custom.InvalidFormattingStringException

Namespace:  PostSharp.Patterns.Diagnostics.Custom
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.8.0 (6.5.8.0)
Syntax
C#
[SerializableAttribute]
public class InvalidFormattingStringException : FormatException
Constructors
  NameDescription
Public methodInvalidFormattingStringException()
Initializes a new InvalidFormattingStringException with the default error message.
Public methodInvalidFormattingStringException(String)
Initializes a new InvalidFormattingStringException and specifies the error message.
Protected methodInvalidFormattingStringException(SerializationInfo, StreamingContext)
Deserialization constructor.
Public methodInvalidFormattingStringException(String, Exception)
Initializes a new InvalidFormattingStringException and specifies the error message and the inner Exception.
See Also