Package org.apache.guacamole.token
Class GuacamoleTokenUndefinedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.guacamole.GuacamoleException
org.apache.guacamole.GuacamoleServerException
org.apache.guacamole.token.GuacamoleTokenUndefinedException
- All Implemented Interfaces:
- Serializable
public class GuacamoleTokenUndefinedException
extends org.apache.guacamole.GuacamoleServerException
An exception thrown when a token cannot be substituted because it has no
 corresponding value. Additional information describing the undefined token
 is provided.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionGuacamoleTokenUndefinedException(String message, String tokenName) Creates a new GuacamoleTokenUndefinedException with the given message and associated undefined token name.GuacamoleTokenUndefinedException(String message, Throwable cause, String tokenName) Creates a new GuacamoleTokenUndefinedException with the given message, cause, and associated undefined token name.GuacamoleTokenUndefinedException(Throwable cause, String tokenName) Creates a new GuacamoleTokenUndefinedException with the given cause and associated undefined token name.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the name of the token which has no defined value, causing this exception to be thrown.Methods inherited from class org.apache.guacamole.GuacamoleServerExceptiongetStatusMethods 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- 
GuacamoleTokenUndefinedExceptionCreates a new GuacamoleTokenUndefinedException with the given message, cause, and associated undefined token name.- Parameters:
- message- A human readable description of the exception that occurred.
- cause- The cause of this exception.
- tokenName- The name of the token which has no defined value.
 
- 
GuacamoleTokenUndefinedExceptionCreates a new GuacamoleTokenUndefinedException with the given message and associated undefined token name.- Parameters:
- message- A human readable description of the exception that occurred.
- tokenName- The name of the token which has no defined value.
 
- 
GuacamoleTokenUndefinedExceptionCreates a new GuacamoleTokenUndefinedException with the given cause and associated undefined token name.- Parameters:
- cause- The cause of this exception.
- tokenName- The name of the token which has no defined value.
 
 
- 
- 
Method Details- 
getTokenNameReturns the name of the token which has no defined value, causing this exception to be thrown.- Returns:
- The name of the token which has no defined value.
 
 
-