Class ListenerInvocationNotAllowedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.wicket.core.request.handler.ListenerInvocationNotAllowedException
- All Implemented Interfaces:
Serializable
Thrown when a listener invocation is attempted on a component or behavior that does not allow it.
For example, somehow the user attempted to invoke link's onclick method on a disabled link.
- Author:
- igor
- See Also:
-
Constructor Summary
ConstructorDescriptionListenerInvocationNotAllowedException
(Component component, Behavior behavior, String message) Constructor -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ListenerInvocationNotAllowedException
public ListenerInvocationNotAllowedException(Component component, Behavior behavior, String message) Constructor- Parameters:
component
-behavior
-message
-
-
-
Method Details
-
getComponent
- Returns:
- component that was the target of invocation or hosted the behavior that was
-
getBehavior
- Returns:
- behavior that was the target of invocation or
null
-