public class CalendricalRuleException extends CalendricalException
Constructor and Description |
---|
CalendricalRuleException(String message,
CalendricalRule<?> fieldRule)
Constructs a new exception with a message and optional rule.
|
Modifier and Type | Method and Description |
---|---|
CalendricalRule<?> |
getRule()
Gets the rule that is connected to the exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CalendricalRuleException(String message, CalendricalRule<?> fieldRule)
message
- the message describing the problem, should not be nullfieldRule
- the rule of the field that is not supported, may be nullpublic CalendricalRule<?> getRule()
Copyright © 2014. All rights reserved.