public class InteractiveConnectionException extends InteractiveException
Constructor and Description |
---|
InteractiveConnectionException(String message)
Initializes a new
InteractiveConnectionException . |
InteractiveConnectionException(URI host,
int errorCode,
String reason)
Initializes a new
InteractiveConnectionException . |
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Returns the error code returned when the websocket connection closed.
|
String |
getReason()
Returns the reason returned when the websocket connection closed.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InteractiveConnectionException(String message)
InteractiveConnectionException
.message
- Exception messagepublic InteractiveConnectionException(URI host, int errorCode, String reason)
InteractiveConnectionException
.host
- The Interactive host for which connection was attemptederrorCode
- Error code returned when the websocket connection closedreason
- Reason returned when the websocket connection closedpublic int getErrorCode()
public String getReason()
Copyright © 2018. All rights reserved.