Class InvalidDateTimeZoneSourceException
Exception thrown to indicate that a time zone source has violated the contract of IDateTimeZoneSource.
This exception is primarily intended to be thrown from DateTimeZoneCache, and only in the face of a buggy
source; user code should not usually need to be aware of this or catch it.
Inherited Members
Namespace: NodaTime.TimeZones
Assembly: NodaTime.dll
Syntax
[Serializable]
public sealed class InvalidDateTimeZoneSourceException : Exception, ISerializable, _Exception
Constructors
InvalidDateTimeZoneSourceException(String)
Creates a new instance with the given message.
Declaration
public InvalidDateTimeZoneSourceException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message for the exception. |