Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » aop » framework » adapter » [javadoc | source]
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) 
    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) 
    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
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait