Class GuacamoleServerException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GuacamoleConnectionClosedException, GuacamoleServerBusyException, GuacamoleUnsupportedException

public class GuacamoleServerException extends GuacamoleException
A generic exception thrown when part of the Guacamole API encounters an unexpected, internal error. An internal error, if correctable, would require correction on the server side, not the client.
See Also:
  • Constructor Details

    • GuacamoleServerException

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

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

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

    • 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 GuacamoleException
      Returns:
      The corresponding Guacamole status.