Class 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
    • Constructor Detail

      • ListenerInvocationNotAllowedException

        public ListenerInvocationNotAllowedException​(Component component,
                                                     Behavior behavior,
                                                     String message)
        Constructor
        Parameters:
        component -
        behavior -
        message -
    • Method Detail

      • 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