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
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.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
A serialization identifier for this class. -
Constructor Summary
ConstructorsConstructorDescriptionCalendricalException
(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
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDA serialization identifier for this class.- See Also:
-
-
Constructor Details
-
CalendricalException
Constructs a new conversion exception with the specified message.- Parameters:
message
- the message to use for this exception, may be null
-
CalendricalException
Constructs a new conversion 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
-