src/main/java/zoot/tube/websocketserver/Server.java
/**
     * Runs whenever this server encounters an error.
     *
     * @param conn the connection that caused the error.
     * @param ex   the exception that was thrown.
     */
Runs whenever this server encounters an error.
@param conn the connection that caused the error.
@param ex   the exception that was thrown.
Runs whenever this server encounters an error . @param conn the connection that caused the error . @param ex the exception that was thrown .
@Override
    public void onError(WebSocket conn, Exception ex) {
        System.out.println("There was an error.");
        ex.printStackTrace();
    }
@ Override public void onError ( WebSocket conn , Exception ex ) { System . out . println ( "There was an error." ) ; ex . printStackTrace ( ) ; }
Runs whenever this server encounters an error.
Runs whenever this server encounters an error .