Package org.springframework.core
Class Constants.ConstantException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.springframework.core.Constants.ConstantException
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- Constants
Exception thrown when the 
Constants class is asked for
 an invalid constant name.- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionConstantException(String className, String namePrefix, Object value) Thrown when an invalid constant value is looked up.ConstantException(String className, String field, String message) Thrown when an invalid constant name is requested.
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
ConstantExceptionThrown 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
 
- 
ConstantExceptionThrown 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
 
 
-