Noda Time
InvalidNodaDataException Class
NamespacesNodaTime.UtilityInvalidNodaDataException

[This is preliminary documentation and is subject to change.]

Exception thrown when data read by Noda Time (such as serialized time zone data) is invalid. This includes data which is truncated, i.e. we expect more data than we can read.
Declaration Syntax
C#Visual BasicVisual C++
[SerializableAttribute]
public sealed class InvalidNodaDataException : Exception
<SerializableAttribute> _
Public NotInheritable Class InvalidNodaDataException _
	Inherits Exception
[SerializableAttribute]
public ref class InvalidNodaDataException sealed : public Exception
Members
All MembersConstructors



IconMemberDescription
InvalidNodaDataException(String)
Creates an instance with the given message.

InvalidNodaDataException(String, Exception)
Creates an instance with the given message.

Remarks
This type only exists as InvalidDataException doesn't exist in the Portable Class Library. Unfortunately, InvalidDataException itself is sealed, so we can't derive from it for the sake of backward compatibility.
Thread Safety
Any public static members of this type are thread safe. Any instance members are not guaranteed to be thread safe. See the thread safety section of the user guide for more information.
Inheritance Hierarchy
Object
Exception
 InvalidNodaDataException

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)