Package javax.time
Class CalendricalException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.time.CalendricalException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CalendarConversionException
,CalendricalParseException
,CalendricalPrintException
,CalendricalRuleException
public class CalendricalException extends RuntimeException
The base class for all exceptions in the Time Framework for Java.All exceptions in the Time Framework for Java extend this class. This allows catch blocks to catch just this exception, or more specific ones.
- Author:
- Stephen Colebourne
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CalendricalException(String message)
Constructs a new conversion exception with the specified message.CalendricalException(String message, Throwable cause)
Constructs a new conversion exception with the specified message and cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CalendricalException
public CalendricalException(String message)
Constructs a new conversion exception with the specified message.- Parameters:
message
- the message to use for this exception, may be null
-
-