Top Description Fields Constructors Methods
org.springframework.aop.aspectj.annotation

public Class NotAnAtAspectException

extends AopConfigException
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
org.springframework.aop.framework.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

Field Summary

Modifier and TypeField and Description
private final Class<?>

Constructor Summary

AccessConstructor and Description
public
NotAnAtAspectException(Class<?>
the offending class
nonAspectClass
)

Create a new NotAnAtAspectException for the given class.

Method Summary

Modifier and TypeMethod and Description
public Class<?>
getNonAspectClass()

Returns the offending class.

Field Detail

nonAspectClassback to summary
private final Class<?> nonAspectClass

Constructor Detail

NotAnAtAspectExceptionback to summary
public NotAnAtAspectException(Class<?> nonAspectClass)

Create a new NotAnAtAspectException for the given class.

Parameters
nonAspectClass:Class<?>

the offending class

Method Detail

getNonAspectClassback to summary
public Class<?> getNonAspectClass()

Returns the offending class.