public class UnsupportedRuleException extends CalendricalRuleException
Constructor and Description |
---|
UnsupportedRuleException(CalendricalRule<?> rule)
Constructs a new unsupported field exception creating a standard error message.
|
UnsupportedRuleException(java.lang.String message,
CalendricalRule<?> rule)
Constructs a new unsupported field exception using the specified error message.
|
getRule
public UnsupportedRuleException(CalendricalRule<?> rule)
rule
- the rule that is not supported, may be nullpublic UnsupportedRuleException(java.lang.String message, CalendricalRule<?> rule)
message
- the error message, not nullrule
- the rule that is not supported, may be null