Class ConnectionErrorEvent


  • public class ConnectionErrorEvent
    extends Object
    Data carrier for connection error events.
    • Constructor Detail

      • ConnectionErrorEvent

        public ConnectionErrorEvent​(Session session,
                                    SessionException error)
        Creates a new instance of this error object.
        Parameters:
        session - the session object that fired this event.
        error - being reported by this event.
    • Method Detail

      • getSession

        public Session getSession()
        Returns:
        the session object that fired this event.
      • getError

        public SessionException getError()
        Returns:
        the error being reported by this event.
      • toString

        public String toString()
        Overrides:
        toString in class Object
        Returns:
        a human-readable rendering of this object.