Class GuacamoleUnauthorizedException

  • All Implemented Interfaces:
    Serializable

    public class GuacamoleUnauthorizedException
    extends GuacamoleSecurityException
    A security-related exception thrown when parts of the Guacamole API is denying access to a resource, but access MAY be granted were the user authorized (logged in).
    See Also:
    Serialized Form
    • Constructor Detail

      • GuacamoleUnauthorizedException

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

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

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