public class UnsupportedRuleException extends CalendricalRuleException
Constructor and Description |
---|
UnsupportedRuleException(CalendricalRule<?> rule)
Constructs a new unsupported field exception creating a standard error message.
|
UnsupportedRuleException(String message,
CalendricalRule<?> rule)
Constructs a new unsupported field exception using the specified error message.
|
getRule
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnsupportedRuleException(CalendricalRule<?> rule)
rule
- the rule that is not supported, may be nullpublic UnsupportedRuleException(String message, CalendricalRule<?> rule)
message
- the error message, not nullrule
- the rule that is not supported, may be nullCopyright © 2014. All rights reserved.