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

hashCode → int
The hash code for this object.
no setterinherited
message → String
What went wrong and how to fix it.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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