SerializableIllegalCalendarFieldValueException, InvalidCalendarFieldException, UnsupportedRuleExceptionpublic class CalendricalRuleException extends CalendricalException
| Constructor | Description |
|---|---|
CalendricalRuleException(String message,
CalendricalRule<?> fieldRule) |
Constructs a new exception with a message and optional rule.
|
| Modifier and Type | Method | Description |
|---|---|---|
CalendricalRule<?> |
getRule() |
Gets the rule that is connected to the exception.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CalendricalRuleException(String message, CalendricalRule<?> fieldRule)
message - the message describing the problem, should not be nullfieldRule - the rule of the field that is not supported, may be nullpublic CalendricalRule<?> getRule()
Copyright © 2019. All rights reserved.