DateTimeException
public
class
DateTimeException
extends RuntimeException
java.lang.Object | ||||
↳ | java.lang.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.lang.RuntimeException | |||
↳ | java.time.DateTimeException |
Exception used to indicate a problem while calculating a date-time.
This exception is used to indicate problems with creating, querying and manipulating date-time objects.
Summary
Public constructors | |
---|---|
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. |
Inherited methods | |
---|---|
Public constructors
DateTimeException
public DateTimeException (String message)
Constructs a new date-time exception with the specified message.
Parameters | |
---|---|
message |
String : the message to use for this exception, may be null |
DateTimeException
public DateTimeException (String message, Throwable cause)
Constructs a new date-time exception with the specified message and cause.
Parameters | |
---|---|
message |
String : the message to use for this exception, may be null |
cause |
Throwable : the cause of the exception, may be null |