Package javax.time
Class CalendricalException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.time.CalendricalException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CalendarConversionException
,CalendricalParseException
,CalendricalPrintException
,CalendricalRuleException
public class CalendricalException extends java.lang.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.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
A serialization identifier for this class.
-
Constructor Summary
Constructors Constructor Description CalendricalException(java.lang.String message)
Constructs a new conversion exception with the specified message.CalendricalException(java.lang.String message, java.lang.Throwable cause)
Constructs a new conversion exception with the specified message and cause.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
A serialization identifier for this class.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CalendricalException
public CalendricalException(java.lang.String message)
Constructs a new conversion exception with the specified message.- Parameters:
message
- the message to use for this exception, may be null
-
CalendricalException
public CalendricalException(java.lang.String message, java.lang.Throwable cause)
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
-
-