类 AnnotationConfigurationException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.core.annotation.AnnotationConfigurationException
- 所有已实现的接口:
Serializable
public class AnnotationConfigurationException extends NestedRuntimeException
Thrown byAnnotationUtils
and synthesized annotations if an annotation is improperly configured.- 从以下版本开始:
- 4.2
- 作者:
- Sam Brannen
- 另请参阅:
AnnotationUtils
,SynthesizedAnnotation
, 序列化表格
构造器概要
构造器 构造器 说明 AnnotationConfigurationException(String message)
Construct a newAnnotationConfigurationException
with the supplied message.AnnotationConfigurationException(String message, Throwable cause)
Construct a newAnnotationConfigurationException
with the supplied message and cause.
方法概要
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
AnnotationConfigurationException
public AnnotationConfigurationException(String message)
Construct a newAnnotationConfigurationException
with the supplied message.- 参数:
message
- the detail message
AnnotationConfigurationException
public AnnotationConfigurationException(String message, Throwable cause)
Construct a newAnnotationConfigurationException
with the supplied message and cause.- 参数:
message
- the detail messagecause
- the root cause