@Override
    public int getWebSocketCode() {
        return getCauseAsGuacamoleException().getWebSocketCode();
    }
Rethrows the original GuacamoleException wrapped within this
GuacamoleAuthenticationProcessException. If there is no such exception,
and the cause of this failure is an unchecked RuntimeException or Error,
that unchecked exception/error is rethrown as-is.

@throws GuacamoleException
    If the underlying cause of this exception is a checked
    GuacamoleException subclass.

@throws RuntimeException
    If the underlying cause of this exception is an unchecked
    RuntimeException.

@throws Error
    If the underlying cause of this exception is an unchecked Error.
guacamole/src/main/java/org/apache/guacamole/rest/auth/GuacamoleAuthenticationProcessException.java