Serializable
public class UnsupportedRuleException extends CalendricalRuleException
Constructor | Description |
---|---|
UnsupportedRuleException(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.
|
getRule
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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 © 2019. All rights reserved.