Class InvalidPatternException
Exception thrown to indicate that the format pattern provided for either formatting or parsing is invalid.
Since 1.0.x
Availability net45, netstandard1.3, netstandard2.0
Inheritance
Object
Exception
SystemException
FormatException
InvalidPatternException
Implements
ISerializable
_Exception
Inherited Members
Exception.GetBaseException()
Exception.ToString()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.Message
Exception.Data
Exception.InnerException
Exception.TargetSite
Exception.StackTrace
Exception.HelpLink
Exception.Source
Exception.HResult
Exception.SerializeObjectState
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.MemberwiseClone()
Namespace: NodaTime.Text
Assembly: NodaTime.dll
Syntax
[Serializable]
public sealed class InvalidPatternException : FormatException, ISerializable, _Exception
Constructors
InvalidPatternException()
Creates a new InvalidPatternException with the default FormatException message.
Since 1.0.x
Availability net45, netstandard1.3, netstandard2.0
Declaration
public InvalidPatternException()
InvalidPatternException(String)
Creates a new InvalidPatternException with the given message.
Since 1.0.x
Availability net45, netstandard1.3, netstandard2.0
Declaration
public InvalidPatternException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | A message describing the nature of the failure |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception