Serializablepublic class InvalidCalendarFieldException extends CalendricalRuleException
Some combinations of calendrical fields are not allowed, such as a month-of-year of April and a day-of-month of 31. This exception is used when an attempt is made to create such an invalid combination.
| Constructor | Description |
|---|---|
InvalidCalendarFieldException(String message,
CalendricalRule<?> rule) |
Constructs a new invalid field exception.
|
getRuleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidCalendarFieldException(String message, CalendricalRule<?> rule)
message - the message describing the problem, should not be nullrule - the rule that is invalid, may be nullCopyright © 2019. All rights reserved.