public class WebSocketException extends Exception
| Constructor and Description |
|---|
WebSocketException(int requestId,
String message) |
WebSocketException(int requestId,
String message,
Throwable t) |
WebSocketException(int requestId,
Throwable t) |
| Modifier and Type | Method and Description |
|---|---|
void |
attachData(String dataType,
com.google.protobuf.Message data) |
com.google.protobuf.Message |
getData() |
String |
getDataType() |
int |
getRequestId() |
Web.WebSocketServerMessage.WebSocketExceptionData |
toWebSocketExceptionData()
Converts this exception to a protobuf message
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic WebSocketException(int requestId,
String message)
requestId - the client request id, if at least this could be successfully interpreted.public WebSocketException(int requestId,
Throwable t)
public int getRequestId()
public void attachData(String dataType, com.google.protobuf.Message data)
public String getDataType()
public com.google.protobuf.Message getData()
public Web.WebSocketServerMessage.WebSocketExceptionData toWebSocketExceptionData() throws IOException
IOExceptionCopyright © 2018 Space Applications Services. All rights reserved.