Class GuacamoleConnectionClosedException

  • All Implemented Interfaces:
    Serializable

    public class GuacamoleConnectionClosedException
    extends GuacamoleServerException
    An exception which is thrown when an operation cannot be performed because its corresponding connection is closed.
    See Also:
    Serialized Form
    • Constructor Detail

      • GuacamoleConnectionClosedException

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

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

        public GuacamoleConnectionClosedException​(Throwable cause)
        Creates a new GuacamoleConnectionClosedException 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 GuacamoleServerException
        Returns:
        The corresponding Guacamole status.