org.springframework.aop.framework.adapter

## 类 UnknownAdviceTypeException

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

- 所有已实现的接口:
    Serializable

      public class UnknownAdviceTypeException
      extends IllegalArgumentException

  Exception thrown when an attempt is made to use an unsupported Advisor or Advice type.
  作者:
    Rod Johnson, Juergen Hoeller
  另请参阅:
    `Advice`, `Advisor`, 序列化表格

- - ### 构造器概要

    构造器
    构造器和说明
    `UnknownAdviceTypeException(Object advice)` Create a new UnknownAdviceTypeException for the given advice object.
    `UnknownAdviceTypeException(String message)` Create a new UnknownAdviceTypeException with the given message.

  - ### 方法概要

    - ### 从类继承的方法 java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 构造器详细资料

    - #### UnknownAdviceTypeException

          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.
      参数:
        `advice` - the advice object of unknown type

    - #### UnknownAdviceTypeException

          public UnknownAdviceTypeException(String message)

      Create a new UnknownAdviceTypeException with the given message.
      参数:
        `message` - the message text