|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException javax.time.CalendricalException javax.time.calendar.CalendricalRuleException javax.time.calendar.InvalidCalendarFieldException
public class InvalidCalendarFieldException
An exception used when a calendrical field is invalid.
Some combinations of calendrical fields are not allowed, such as 'MonthOfYear 4' and 'DayOfMonth 31' (April 31st). This exception is used when an attempt is made to create such an invalid combination.
Constructor Summary | |
---|---|
InvalidCalendarFieldException(java.lang.String message,
CalendricalRule<?> rule)
Constructs a new invalid field exception. |
Method Summary |
---|
Methods inherited from class javax.time.calendar.CalendricalRuleException |
---|
getRule |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InvalidCalendarFieldException(java.lang.String message, CalendricalRule<?> rule)
message
- the message describing the problem, should not be nullrule
- the rule that is invalid, may be null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |