Class 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:
    Serialized Form
    • Constructor Detail

      • GuacamoleTokenUndefinedException

        public GuacamoleTokenUndefinedException​(String message,
                                                Throwable cause,
                                                String tokenName)
        Creates 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.
      • GuacamoleTokenUndefinedException

        public GuacamoleTokenUndefinedException​(String message,
                                                String tokenName)
        Creates 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.
      • GuacamoleTokenUndefinedException

        public GuacamoleTokenUndefinedException​(Throwable cause,
                                                String tokenName)
        Creates 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 Detail

      • getTokenName

        public String getTokenName()
        Returns 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.