Class GuacamoleSessionClosedException

  • All Implemented Interfaces:
    Serializable

    public class GuacamoleSessionClosedException
    extends GuacamoleUpstreamException
    An exception which indicates that a session within an upstream server (such as the remote desktop) has been forcibly terminated.
    See Also:
    Serialized Form
    • Constructor Detail

      • GuacamoleSessionClosedException

        public GuacamoleSessionClosedException​(String message,
                                               Throwable cause)
        Creates a new GuacamoleSessionClosedException with the given message and cause.
        Parameters:
        message - A human readable description of the exception that occurred.
        cause - The cause of this exception.
      • GuacamoleSessionClosedException

        public GuacamoleSessionClosedException​(String message)
        Creates a new GuacamoleSessionClosedException with the given message.
        Parameters:
        message - A human readable description of the exception that occurred.
      • GuacamoleSessionClosedException

        public GuacamoleSessionClosedException​(Throwable cause)
        Creates a new GuacamoleSessionClosedException with the given cause.
        Parameters:
        cause - The cause of this exception.
    • Method Detail

      • getStatus

        public GuacamoleStatus getStatus()
        Description copied from class: GuacamoleException
        Returns the Guacamole status associated with this exception. This status can then be easily translated into an HTTP error code or Guacamole protocol error code.
        Overrides:
        getStatus in class GuacamoleUpstreamException
        Returns:
        The corresponding Guacamole status.