public 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 and Description |
---|
InvalidCalendarFieldException(String message,
CalendricalRule<?> rule)
Constructs a new invalid field exception.
|
getRule
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidCalendarFieldException(String message, CalendricalRule<?> rule)
message
- the message describing the problem, should not be nullrule
- the rule that is invalid, may be nullCopyright © 2014. All rights reserved.