Class ConnectionErrorEvent

  • All Implemented Interfaces:
    IEvent

    public final class ConnectionErrorEvent
    extends java.lang.Object
    Event occurring when a connection error occurs.
    • Constructor Summary

      Constructors 
      Constructor Description
      ConnectionErrorEvent​(java.net.URI serverUri, java.lang.Throwable error)
      Initializes a new instance of the ConnectionErrorEvent class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Throwable getError()
      Returns the error.
      java.net.URI getServerUri()
      Return the URI of the server.
      • Methods inherited from class java.lang.Object

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

      • ConnectionErrorEvent

        public ConnectionErrorEvent​(java.net.URI serverUri,
                                    java.lang.Throwable error)
        Initializes a new instance of the ConnectionErrorEvent class.
        Parameters:
        serverUri - is the URI of the server.
        error - is the error.
    • Method Detail

      • getError

        public java.lang.Throwable getError()
        Returns the error.
        Returns:
        The error.
      • getServerUri

        public java.net.URI getServerUri()
        Return the URI of the server.
        Returns:
        the URI of the server.