Class UnsupportedRuleException

All Implemented Interfaces:
Serializable

public class UnsupportedRuleException extends CalendricalRuleException
An exception used when the value for a rule cannot be found.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      A serialization identifier for this class.
      See Also:
  • Constructor Details

    • 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(String message, CalendricalRule<?> rule)
      Constructs a new unsupported field exception using the specified error message.
      Parameters:
      message - the error message, not null
      rule - the rule that is not supported, may be null