Class Constants.ConstantException

    • Constructor Detail

      • ConstantException

        public ConstantException​(String className,
                                 String field,
                                 String message)
        Thrown when an invalid constant name is requested.
        Parameters:
        className - name of the class containing the constant definitions
        field - invalid constant name
        message - description of the problem
      • ConstantException

        public ConstantException​(String className,
                                 String namePrefix,
                                 Object value)
        Thrown when an invalid constant value is looked up.
        Parameters:
        className - name of the class containing the constant definitions
        namePrefix - prefix of the searched constant names
        value - the looked up constant value