[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.

C# | Visual Basic | Visual C++ |
[SerializableAttribute] public sealed class InvalidNodaDataException : Exception
<SerializableAttribute> _ Public NotInheritable Class InvalidNodaDataException _ Inherits Exception
[SerializableAttribute] public ref class InvalidNodaDataException sealed : public Exception

All Members | Constructors | ||||
Icon | Member | Description |
---|---|---|
![]() | InvalidNodaDataException(String) |
Creates an instance with the given message.
|
![]() | InvalidNodaDataException(String, Exception) |
Creates an instance with the given message.
|

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.

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.
Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)