Class MissingListenerException

  • All Implemented Interfaces:
    java.io.Serializable

    public class MissingListenerException
    extends java.lang.RuntimeException
    Signals a missing listener
    Version:
    $Id: MissingListenerException.java 1733416 2016-03-03 07:07:13Z gadams $
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String className
      The class name of the listener bundle requested
      private java.lang.String key
      The name of the specific listener requested by the user
    • Constructor Summary

      Constructors 
      Constructor Description
      MissingListenerException​(java.lang.String s, java.lang.String className, java.lang.String key)
      Constructs a MissingListenerException with the specified information.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getClassName()
      Gets parameter passed by constructor.
      java.lang.String getKey()
      Gets parameter passed by constructor.
      java.lang.String toString()
      Returns a printable representation of this object
      • Methods inherited from class java.lang.Throwable

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

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

      • className

        private java.lang.String className
        The class name of the listener bundle requested
      • key

        private java.lang.String key
        The name of the specific listener requested by the user
    • Constructor Detail

      • MissingListenerException

        public MissingListenerException​(java.lang.String s,
                                        java.lang.String className,
                                        java.lang.String key)
        Constructs a MissingListenerException with the specified information. A detail message is a String that describes this particular exception.
        Parameters:
        s - the detail message
        className - the name of the listener class
        key - the key for the missing listener.
    • Method Detail

      • getClassName

        public java.lang.String getClassName()
        Gets parameter passed by constructor.
      • getKey

        public java.lang.String getKey()
        Gets parameter passed by constructor.
      • toString

        public java.lang.String toString()
        Returns a printable representation of this object
        Overrides:
        toString in class java.lang.Throwable