Package javax.time.calendar
Class UnsupportedRuleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.time.CalendricalException
javax.time.calendar.CalendricalRuleException
javax.time.calendar.UnsupportedRuleException
- All Implemented Interfaces:
Serializable
An exception used when the value for a rule cannot be found.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
A serialization identifier for this class. -
Constructor Summary
ConstructorsConstructorDescriptionUnsupportedRuleException
(String message, CalendricalRule<?> rule) Constructs a new unsupported field exception using the specified error message.UnsupportedRuleException
(CalendricalRule<?> rule) Constructs a new unsupported field exception creating a standard error message. -
Method Summary
Methods inherited from class javax.time.calendar.CalendricalRuleException
getRule
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDA serialization identifier for this class.- See Also:
-
-
Constructor Details
-
UnsupportedRuleException
Constructs a new unsupported field exception creating a standard error message.- Parameters:
rule
- the rule that is not supported, may be null
-
UnsupportedRuleException
Constructs a new unsupported field exception using the specified error message.- Parameters:
message
- the error message, not nullrule
- the rule that is not supported, may be null
-