public class ConstantException
extends java.lang.IllegalArgumentException
Constants class is asked for
an invalid constant name.Constants,
Serialized Form| Constructor and Description |
|---|
ConstantException(java.lang.String className,
java.lang.String namePrefix,
java.lang.Object value)
Thrown when an invalid constant value is looked up.
|
ConstantException(java.lang.String className,
java.lang.String field,
java.lang.String message)
Thrown when an invalid constant name is requested.
|
public ConstantException(java.lang.String className,
java.lang.String field,
java.lang.String message)
className - name of the class containing the constant definitionsfield - invalid constant namemessage - description of the problempublic ConstantException(java.lang.String className,
java.lang.String namePrefix,
java.lang.Object value)
className - name of the class containing the constant definitionsnamePrefix - prefix of the searched constant namesvalue - the looked up constant value