public class DateTimeException
extends java.lang.RuntimeException
This exception is used to indicate problems with creating, querying and manipulating date-time objects.
| Constructor and Description |
|---|
DateTimeException(java.lang.String message)
Constructs a new date-time exception with the specified message.
|
DateTimeException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new date-time exception with the specified message and cause.
|
public DateTimeException(java.lang.String message)
message - the message to use for this exception, may be nullpublic DateTimeException(java.lang.String message,
java.lang.Throwable cause)
message - the message to use for this exception, may be nullcause - the cause of the exception, may be nullCopyright (c) 2014, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.