Class UnsupportedRuleException

    • 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​(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