| [ Web Proxy ] |
| Viewing: https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/time/DateTimeException.html | [Back] [Original] |
SerializableDateTimeParseException, UnsupportedTemporalTypeException, ZoneRulesExceptionpublic class DateTimeException extends RuntimeException
This exception is used to indicate problems with creating, querying and manipulating date-time objects.
| Constructor | 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, printStackTrace, setStackTrace, toStringmessage - the message to use for this exception, may be nullmessage - the message to use for this exception, may be nullcause - the cause of the exception, may be nullReport a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2020, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.
| Web Proxy Viewer | New URL | Original Page |