org.apache.wicket.request.handler
Class ListenerInvocationNotAllowedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.wicket.request.handler.ListenerInvocationNotAllowedException
- All Implemented Interfaces:
- Serializable
public class ListenerInvocationNotAllowedException
- extends RuntimeException
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:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ListenerInvocationNotAllowedException
public ListenerInvocationNotAllowedException(RequestListenerInterface iface,
Component component,
Behavior behavior,
String message)
- Constructor
- Parameters:
iface
- component
- behavior
- message
-
getComponent
public Component getComponent()
- Returns:
- component that was the target of invocation or hosted the behavior that was
getBehavior
public Behavior getBehavior()
- Returns:
- behavior that was the target of invocation or
null
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.