Package javax.time.calendar
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:
java.io.Serializable
public class UnsupportedRuleException extends CalendricalRuleException
An exception used when the value for a rule cannot be found.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
A serialization identifier for this class.
-
Constructor Summary
Constructors Constructor Description UnsupportedRuleException(java.lang.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 javax.time.calendar.CalendricalRuleException
getRule
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
A serialization identifier for this class.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UnsupportedRuleException
public UnsupportedRuleException(CalendricalRule<?> rule)
Constructs a new unsupported field exception creating a standard error message.- Parameters:
rule
- the rule that is not supported, may be null
-
UnsupportedRuleException
public UnsupportedRuleException(java.lang.String message, CalendricalRule<?> rule)
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
-
-