Package org.apache.guacamole
Class GuacamoleClientOverrunException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.guacamole.GuacamoleException
org.apache.guacamole.GuacamoleClientException
org.apache.guacamole.GuacamoleClientOverrunException
- All Implemented Interfaces:
Serializable
An exception which is thrown when the client has sent too much data. This
usually indicates that a server-side buffer is not large enough to
accommodate the data, or protocol specifications prohibit data of the size
received.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGuacamoleClientOverrunException
(String message) Creates a new GuacamoleClientOverrunException with the given message.GuacamoleClientOverrunException
(String message, Throwable cause) Creates a new GuacamoleClientOverrunException with the given message and cause.Creates a new GuacamoleClientOverrunException with the given cause. -
Method Summary
Modifier and TypeMethodDescriptionReturns the Guacamole status associated with this exception.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 Details
-
GuacamoleClientOverrunException
Creates a new GuacamoleClientOverrunException with the given message and cause.- Parameters:
message
- A human readable description of the exception that occurred.cause
- The cause of this exception.
-
GuacamoleClientOverrunException
Creates a new GuacamoleClientOverrunException with the given message.- Parameters:
message
- A human readable description of the exception that occurred.
-
GuacamoleClientOverrunException
Creates a new GuacamoleClientOverrunException with the given cause.- Parameters:
cause
- The cause of this exception.
-
-
Method Details
-
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 classGuacamoleClientException
- Returns:
- The corresponding Guacamole status.
-