This exception is used to indicate problems with creating, querying and manipulating date-time objects.
Implementation Specification
This class is intended for use in a single thread.
| Modifier and Type | Field and Description |
|---|---|
| private static final long | serialVersionUID
Serialization version.
|
| Access | Constructor and Description |
|---|---|
| public | DateTimeException(String
the message to use for this exception, may be null message)Constructs a new date-time exception with the specified message. |
| public | DateTimeException(String
the message to use for this exception, may be null message, Throwable the cause of the exception, may be null cause)Constructs a new date-time exception with the specified message and cause. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. Serialization version. | |
| DateTimeException | back to summary |
|---|---|
| public DateTimeException(String message) Constructs a new date-time exception with the specified message.
| |
| DateTimeException | back to summary |
|---|---|
| public DateTimeException(String message, Throwable cause) Constructs a new date-time exception with the specified message and cause. | |