public class DateTimeException extends RuntimeException
This exception is used to indicate problems with creating, querying and manipulating date-time objects.
This class is intended for use in a single thread.
Constructor and Description |
---|
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, toString
public DateTimeException(String message)
message
- the message to use for this exception, may be null