Class ListenerInvocationNotAllowedException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ListenerInvocationNotAllowedException
    extends java.lang.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Behavior getBehavior()  
      Component getComponent()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ListenerInvocationNotAllowedException

        public ListenerInvocationNotAllowedException​(Component component,
                                                     Behavior behavior,
                                                     java.lang.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