Class UnparsableValueException
Exception thrown to indicate that the specified value could not be parsed.
Since 1.0.x
Availability netstandard2.0
Inheritance
Object
Exception
SystemException
FormatException
UnparsableValueException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: NodaTime.Text
Assembly: NodaTime.dll
Syntax
public sealed class UnparsableValueException : FormatException, ISerializable
Constructors
UnparsableValueException()
Creates a new UnparsableValueException with no message.
Since 1.0.x
Availability netstandard2.0
Declaration
public UnparsableValueException()
UnparsableValueException(String)
Creates a new UnparsableValueException with the given message.
Since 1.0.x
Availability netstandard2.0
Declaration
public UnparsableValueException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The failure message |
Implements
System.Runtime.Serialization.ISerializable