Package org.apache.guacamole
Class GuacamoleUnsupportedException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- org.apache.guacamole.GuacamoleException
- 
- org.apache.guacamole.GuacamoleServerException
- 
- org.apache.guacamole.GuacamoleUnsupportedException
 
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class GuacamoleUnsupportedException extends GuacamoleServerException An exception which is thrown when the requested operation is unsupported or unimplemented.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description GuacamoleUnsupportedException(String message)Creates a new GuacamoleUnsupportedException with the given message.GuacamoleUnsupportedException(String message, Throwable cause)Creates a new GuacamoleUnsupportedException with the given message and cause.GuacamoleUnsupportedException(Throwable cause)Creates a new GuacamoleUnsupportedException with the given cause.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description GuacamoleStatusgetStatus()Returns the Guacamole status associated with this exception.- 
Methods inherited from class org.apache.guacamole.GuacamoleExceptiongetHttpStatusCode, getWebSocketCode
 - 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
GuacamoleUnsupportedExceptionpublic GuacamoleUnsupportedException(String message, Throwable cause) Creates a new GuacamoleUnsupportedException with the given message and cause.- Parameters:
- message- A human readable description of the exception that occurred.
- cause- The cause of this exception.
 
 - 
GuacamoleUnsupportedExceptionpublic GuacamoleUnsupportedException(String message) Creates a new GuacamoleUnsupportedException with the given message.- Parameters:
- message- A human readable description of the exception that occurred.
 
 - 
GuacamoleUnsupportedExceptionpublic GuacamoleUnsupportedException(Throwable cause) Creates a new GuacamoleUnsupportedException with the given cause.- Parameters:
- cause- The cause of this exception.
 
 
- 
 - 
Method Detail- 
getStatuspublic GuacamoleStatus getStatus() Description 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- GuacamoleServerException
- Returns:
- The corresponding Guacamole status.
 
 
- 
 
-