Class GuacamoleResourceNotFoundException

  • All Implemented Interfaces:
    Serializable

    public class GuacamoleResourceNotFoundException
    extends GuacamoleClientException
    A generic exception thrown when part of the Guacamole API fails to find a requested resource, such as a configuration or tunnel.
    See Also:
    Serialized Form
    • Constructor Detail

      • GuacamoleResourceNotFoundException

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

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

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