spring-framework / org.springframework.aop.aspectj.annotation / NotAnAtAspectException

NotAnAtAspectException

open class NotAnAtAspectException : AopConfigException

Extension of AopConfigException thrown when trying to perform an advisor generation operation on a class that is not an AspectJ annotation-style aspect.

Author
Rod Johnson

Since
2.0

Constructors

<init>

NotAnAtAspectException(nonAspectClass: Class<*>)

Create a new NotAnAtAspectException for the given class.

Functions

getNonAspectClass

open fun getNonAspectClass(): Class<*>

Returns the offending class.