Class UnparsableValueException
Exception thrown to indicate that the specified value could not be parsed.
Since 1.0.x
Availability net6.0, 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 net6.0, netstandard2.0
Declaration
public UnparsableValueException()
UnparsableValueException(String)
Creates a new UnparsableValueException with the given message.
Since 1.0.x
Availability net6.0, netstandard2.0
Declaration
public UnparsableValueException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The failure message |
UnparsableValueException(String, Exception)
Creates a new UnparsableValueException with the given message and inner exception
Since 3.1.x
Availability net6.0, netstandard2.0
Declaration
public UnparsableValueException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | message | The failure message |
Exception | innerException | The inner exception |
Implements
System.Runtime.Serialization.ISerializable