public int getWebSocketCode() {
        return getStatus().getWebSocketCode();
    }
Returns the most applicable WebSocket status code that can be
associated with this exception.

@return
    An integer representing the most applicable WebSocket status
    code associated with this exception.
guacamole-common/src/main/java/org/apache/guacamole/GuacamoleException.java