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
ConstructorDescriptionAnnotationConfigurationException
(String message) Construct a newAnnotationConfigurationException
with the supplied message.AnnotationConfigurationException
(String message, Throwable cause) Construct a newAnnotationConfigurationException
with the supplied message and cause. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AnnotationConfigurationException
Construct a newAnnotationConfigurationException
with the supplied message.- Parameters:
message
- the detail message
-
AnnotationConfigurationException
Construct a newAnnotationConfigurationException
with the supplied message and cause.- Parameters:
message
- the detail messagecause
- the root cause
-