Class GuacamoleInsufficientCredentialsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.guacamole.GuacamoleException
-
- org.apache.guacamole.GuacamoleClientException
-
- org.apache.guacamole.GuacamoleSecurityException
-
- org.apache.guacamole.GuacamoleUnauthorizedException
-
- org.apache.guacamole.net.auth.credentials.GuacamoleCredentialsException
-
- org.apache.guacamole.net.auth.credentials.GuacamoleInsufficientCredentialsException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TranslatableGuacamoleInsufficientCredentialsException
public class GuacamoleInsufficientCredentialsException extends GuacamoleCredentialsException
A security-related exception thrown when access is denied to a user because the provided credentials are not sufficient for authentication to succeed. The validity or invalidity of the given credentials is not specified, and more information is needed before a decision can be made. Additional information describing the form of valid credentials is provided.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GuacamoleInsufficientCredentialsException(String message, Throwable cause, CredentialsInfo credentialsInfo)
Creates a new GuacamoleInsufficientCredentialsException with the given message, cause, and associated credential information.GuacamoleInsufficientCredentialsException(String message, CredentialsInfo credentialsInfo)
Creates a new GuacamoleInsufficientCredentialsException with the given message and associated credential information.GuacamoleInsufficientCredentialsException(Throwable cause, CredentialsInfo credentialsInfo)
Creates a new GuacamoleInsufficientCredentialsException with the given cause and associated credential information.
-
Method Summary
-
Methods inherited from class org.apache.guacamole.net.auth.credentials.GuacamoleCredentialsException
getCredentialsInfo
-
Methods inherited from class org.apache.guacamole.GuacamoleException
getHttpStatusCode, getWebSocketCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
GuacamoleInsufficientCredentialsException
public GuacamoleInsufficientCredentialsException(String message, Throwable cause, CredentialsInfo credentialsInfo)
Creates a new GuacamoleInsufficientCredentialsException with the given message, cause, and associated credential information.- Parameters:
message
- A human readable description of the exception that occurred.cause
- The cause of this exception.credentialsInfo
- Information describing the form of valid credentials.
-
GuacamoleInsufficientCredentialsException
public GuacamoleInsufficientCredentialsException(String message, CredentialsInfo credentialsInfo)
Creates a new GuacamoleInsufficientCredentialsException with the given message and associated credential information.- Parameters:
message
- A human readable description of the exception that occurred.credentialsInfo
- Information describing the form of valid credentials.
-
GuacamoleInsufficientCredentialsException
public GuacamoleInsufficientCredentialsException(Throwable cause, CredentialsInfo credentialsInfo)
Creates a new GuacamoleInsufficientCredentialsException with the given cause and associated credential information.- Parameters:
cause
- The cause of this exception.credentialsInfo
- Information describing the form of valid credentials.
-
-