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.
- Author:
- Stephen Colebourne
- See Also:
-
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 CalendricalRuleException
getRuleMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
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
-