AopConfigException class
Thrown when AOP is set up in a way that cannot work, usually at startup: advice matches a bean that cannot be proxied, an aspect has an unsupported instantiation model, or a proxy's advisors are changed although it has none.
The message says what is wrong and how to fix it, such as adding an interface with the advised methods. Applications do not catch it; they fix the configuration.
- Implemented types
Constructors
- AopConfigException(String message)
-
Creates the exception with
message.const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited