Class AnnotationConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.core.annotation.AnnotationConfigurationException
- All Implemented Interfaces:
Serializable
Thrown by
AnnotationUtils and synthesized annotations
if an annotation is improperly configured.- Since:
- 4.2
- Author:
- Sam Brannen
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAnnotationConfigurationException(String message) Construct a newAnnotationConfigurationExceptionwith the supplied message.AnnotationConfigurationException(String message, Throwable cause) Construct a newAnnotationConfigurationExceptionwith the supplied message and cause. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AnnotationConfigurationException
Construct a newAnnotationConfigurationExceptionwith the supplied message.- Parameters:
message- the detail message
-
AnnotationConfigurationException
Construct a newAnnotationConfigurationExceptionwith the supplied message and cause.- Parameters:
message- the detail messagecause- the root cause
-