public class CalendricalException
extends java.lang.RuntimeException
All exceptions in the Time Framework for Java extend this class. This allows catch blocks to catch just this exception, or more specific ones.
Constructor and 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.
|
public CalendricalException(java.lang.String message)
message
- the message to use for this exception, may be nullpublic CalendricalException(java.lang.String message, java.lang.Throwable cause)
message
- the message to use for this exception, may be nullcause
- the cause of the exception, may be null