Package org.apache.guacamole
Class GuacamoleSecurityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.guacamole.GuacamoleException
org.apache.guacamole.GuacamoleClientException
org.apache.guacamole.GuacamoleSecurityException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- GuacamoleUnauthorizedException
A security-related exception thrown when parts of the Guacamole API is
 denying access to a resource.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionGuacamoleSecurityException(String message) Creates a new GuacamoleSecurityException with the given message.GuacamoleSecurityException(String message, Throwable cause) Creates a new GuacamoleSecurityException with the given message and cause.Creates a new GuacamoleSecurityException with the given cause.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the Guacamole status associated with this exception.Methods inherited from class org.apache.guacamole.GuacamoleExceptiongetHttpStatusCode, getWebSocketCodeMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
GuacamoleSecurityExceptionCreates a new GuacamoleSecurityException with the given message and cause.- Parameters:
- message- A human readable description of the exception that occurred.
- cause- The cause of this exception.
 
- 
GuacamoleSecurityExceptionCreates a new GuacamoleSecurityException with the given message.- Parameters:
- message- A human readable description of the exception that occurred.
 
- 
GuacamoleSecurityExceptionCreates a new GuacamoleSecurityException with the given cause.- Parameters:
- cause- The cause of this exception.
 
 
- 
- 
Method Details- 
getStatusDescription copied from class:GuacamoleExceptionReturns 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:
- getStatusin class- GuacamoleClientException
- Returns:
- The corresponding Guacamole status.
 
 
-