Class 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
- All Implemented Interfaces:
Serializable
Extension of AopConfigException thrown when trying to perform
an advisor generation operation on a class that is not an
AspectJ annotation-style aspect.
- Since:
- 2.0
- Author:
- Rod Johnson
- See Also:
-
Constructor Summary
ConstructorDescriptionNotAnAtAspectException
(Class<?> nonAspectClass) Create a new NotAnAtAspectException for the given class. -
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
-
NotAnAtAspectException
Create a new NotAnAtAspectException for the given class.- Parameters:
nonAspectClass
- the offending class
-
-
Method Details
-
getNonAspectClass
Returns the offending class.
-