类 NotAnAtAspectException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.aop.framework.AopConfigException
- org.springframework.aop.aspectj.annotation.NotAnAtAspectException
- 所有已实现的接口:
Serializable
public class NotAnAtAspectException extends AopConfigException
Extension of AopConfigException thrown when trying to perform an advisor generation operation on a class that is not an AspectJ annotation-style aspect.- 从以下版本开始:
- 2.0
- 作者:
- Rod Johnson
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 NotAnAtAspectException(Class<?> nonAspectClass)
Create a new NotAnAtAspectException for the given class.
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Class<?>
getNonAspectClass()
Returns the offending class.从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
NotAnAtAspectException
public NotAnAtAspectException(Class<?> nonAspectClass)
Create a new NotAnAtAspectException for the given class.- 参数:
nonAspectClass
- the offending class
方法详细资料
getNonAspectClass
public Class<?> getNonAspectClass()
Returns the offending class.