public class

UnknownAdviceTypeException

extends IllegalArgumentException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.lang.IllegalArgumentException
           ↳ org.springframework.aop.framework.adapter.UnknownAdviceTypeException

Class Overview

Exception thrown when an attempt is made to use an unsupported Advisor or Advice type.

See Also

Summary

Public Constructors
UnknownAdviceTypeException(Object advice)
Create a new UnknownAdviceTypeException for the given advice object.
UnknownAdviceTypeException(String message)
Create a new UnknownAdviceTypeException with the given message.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

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