当前页面:
在线文档首页 >
Spring Framework 2.1.0 API 文档英文版
NotAnAtAspectException (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版
org.springframework.aop.aspectj.annotation
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
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.
- Since:
- 2.0
- Author:
- Rod Johnson
- See Also:
- Serialized Form
NotAnAtAspectException
public NotAnAtAspectException(Class<?> nonAspectClass)
- Create a new NotAnAtAspectException for the given class.
- Parameters:
nonAspectClass
- the offending class
getNonAspectClass
public Class<?> getNonAspectClass()
- Returns the offending class.
Copyright © 2002-2007 The Spring Framework.