Class 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.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 null
        rule - the rule that is not supported, may be null