Class GuacamoleUpstreamException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GuacamoleSessionClosedException, GuacamoleSessionConflictException, GuacamoleSessionTimeoutException, GuacamoleUpstreamNotFoundException, GuacamoleUpstreamTimeoutException, GuacamoleUpstreamUnavailableException

public class GuacamoleUpstreamException extends GuacamoleException
An exception which indicates than an upstream server (such as the remote desktop) is returning an error or is otherwise unreachable.
See Also:
  • Constructor Details

    • GuacamoleUpstreamException

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

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

      public GuacamoleUpstreamException(Throwable cause)
      Creates a new GuacamoleUpstreamException 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.