Class ConnectionErrorEvent

  • All Implemented Interfaces:
    IEvent

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

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

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

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

      • ConnectionErrorEvent

        public ConnectionErrorEvent​(URI serverUri,
                                    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 Throwable getError()
        Returns the error.
        Returns:
        The error.
      • getServerUri

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