org.springframework.aop.framework.adapter
public class: UnknownAdviceTypeException [javadoc |
source]
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.springframework.aop.framework.adapter.UnknownAdviceTypeException
All Implemented Interfaces:
Serializable
Exception thrown when an attempt is made to use an unsupported
Advisor or Advice type.
| Constructor: |
public UnknownAdviceTypeException(Object advice) {
super("Advice object [" + advice + "] is neither a supported subinterface of " +
"[org.aopalliance.aop.Advice] nor an [org.springframework.aop.Advisor]");
}
Create a new UnknownAdviceTypeException for the given advice object.
Will create a message text that says that the object is neither a
subinterface of Advice nor an Advisor. Parameters:
advice - the advice object of unknown type
|
public UnknownAdviceTypeException(String message) {
super(message);
}
Create a new UnknownAdviceTypeException with the given message. Parameters:
message - the message text
|
| Methods from java.lang.Throwable: |
|---|
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |