Serializablepublic class DateTimeException extends RuntimeException
This exception is used to indicate problems with creating, querying and manipulating date-time objects.
| 构造器 | 说明 |
|---|---|
DateTimeException(String message) |
Constructs a new date-time exception with the specified message.
|
DateTimeException(String message,
Throwable cause) |
Constructs a new date-time exception with the specified message and cause.
|
public DateTimeException(String message)
message - the message to use for this exception, may be null