Class UnknownAdviceTypeException

All Implemented Interfaces:

public class UnknownAdviceTypeException extends IllegalArgumentException
Exception thrown when an attempt is made to use an unsupported Advisor or Advice type.
Rod Johnson, Juergen Hoeller
See Also:
  • Constructor Details

    • 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