Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class NodaTime.​TimeZones.​DateTimeZoneNotFoundException

Assembly: NodaTime

Inheritance: object → System.​ExceptionSystem.​TimeZoneNotFoundException → DateTimeZoneNotFoundException

Implemented Interfaces

Exception thrown when time zone is requested from an <see cref="T:NodaTime.IDateTimeZoneProvider" /> , but the specified ID is invalid for that provider.

Remarks

This type originally existed as <c>TimeZoneNotFoundException</c> doesn't exist in framework versions targeted by earlier versions of Noda Time. It is present now solely to avoid unnecessary backward incompatibility. While it could be used to distinguish between exceptions thrown by Noda Time and those thrown by <c>TimeZoneInfo</c> , we recommend that you don't use it that way.

Properties

public string
HelpLink
public int
HResult
InnerException
public string
Message
public string
Source
public string
StackTrace

Methods

GetBaseException​()
Inherited from System.​Exception
GetType​()
Inherited from System.​Exception
public string
ToString​()
Inherited from System.​Exception
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object