Exception thrown when an attempt is made to use an unsupported
Advisor or Advice type.
author: Rod Johnson author: Juergen Hoeller See Also: org.aopalliance.aop.Advice See Also:org.springframework.aop.Advisor
public UnknownAdviceTypeException(Object advice)(Code)
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
UnknownAdviceTypeException
public UnknownAdviceTypeException(String message)(Code)
Create a new UnknownAdviceTypeException with the given message.
Parameters: message - the message text