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.MessageLite data,
io.protostuff.Schema<? extends com.google.protobuf.MessageLite> dataSchema) |
com.google.protobuf.MessageLite |
getData() |
io.protostuff.Schema<com.google.protobuf.MessageLite> |
getDataSchema() |
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.MessageLite data, io.protostuff.Schema<? extends com.google.protobuf.MessageLite> dataSchema)
public String getDataType()
public com.google.protobuf.MessageLite getData()
public io.protostuff.Schema<com.google.protobuf.MessageLite> getDataSchema()
public Web.WebSocketServerMessage.WebSocketExceptionData toWebSocketExceptionData() throws IOException
IOExceptionCopyright © 2017 Space Applications Services. All rights reserved.