Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.websocket
Class HandshakeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by weblogic.websocket.WebSocketException
                  extended by weblogic.websocket.HandshakeException

All Implemented Interfaces:
Serializable

Deprecated. As of release 12.1.3, replaced by JSR356: Java API for WebSocket

@Deprecated
public class HandshakeException
extends WebSocketException

Defines an exception that occurred during the WebSocket handshake phase.

See Also:
WebSocketException, Serialized Form

Field Summary
static int PROTOCOL_ERROR
          Deprecated. Error code indicating that the handshake request cannot meet the requirements specified in the WebSocket Protocol (RFC6455).
static int UNSUPPORTED_VERSION
          Deprecated. Error code indicating that the specified WebSocket Protocol version of the handshake request is not supported.

 

Method Summary
 int getCode()
          Deprecated. Get the error code of the exception.

 

Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

PROTOCOL_ERROR

public static final int PROTOCOL_ERROR
Deprecated. 
Error code indicating that the handshake request cannot meet the requirements specified in the WebSocket Protocol (RFC6455).
See Also:
Constant Field Values

UNSUPPORTED_VERSION

public static final int UNSUPPORTED_VERSION
Deprecated. 
Error code indicating that the specified WebSocket Protocol version of the handshake request is not supported.
See Also:
Constant Field Values

Method Detail

getCode

public int getCode()
Deprecated. 
Get the error code of the exception.
Returns:
the error code.

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09