ZoneRulesException (Java SE 13 & JDK 13 )
- All Implemented Interfaces:
Serializable
public class ZoneRulesException extends DateTimeException
Thrown to indicate a problem with time-zone configuration.
This exception is used to indicate a problems with the configured time-zone rules.
- Implementation Requirements:
- This class is intended for use in a single thread.
- Since:
- 1.8
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ZoneRulesException(String message)Constructs a new date-time exception with the specified message.
ZoneRulesException(String message, Throwable cause)Constructs a new date-time exception with the specified message and cause.
-
Method Summary
Methods declared in class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ZoneRulesException
public ZoneRulesException(String message)
Constructs a new date-time exception with the specified message.
- Parameters:
message- the message to use for this exception, may be null
-
ZoneRulesException
Constructs a new date-time exception with the specified message and cause.
- Parameters:
message- the message to use for this exception, may be nullcause- the cause of the exception, may be null
-
Report 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, 2019, 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.