public class WrappedIOException extends Exception
| Constructor and Description |
|---|
WrappedIOException(WebSocket connection,
IOException ioException)
Wrapp an IOException and include the websocket
|
| Modifier and Type | Method and Description |
|---|---|
WebSocket |
getConnection()
The websocket where the IOException happened
|
IOException |
getIOException()
The wrapped IOException
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic WrappedIOException(WebSocket connection, IOException ioException)
connection - the websocket where the IOException happenedioException - the IOExceptionpublic WebSocket getConnection()
public IOException getIOException()
Copyright © 2020. All rights reserved.