-
- All Implemented Interfaces:
-
java.io.Serializable
public class WrappedIOException extends Exception
Exception to wrap an IOException and include information about the websocket which had the exception
-
-
Field Summary
Fields Modifier and Type Field Description private final WebSocket
connection
private final IOException
ioException
-
Constructor Summary
Constructors Constructor Description WrappedIOException(WebSocket connection, IOException ioException)
Wrapp an IOException and include the websocket
-
Method Summary
Modifier and Type Method Description WebSocket
getConnection()
The websocket where the IOException happened IOException
getIOException()
The wrapped IOException -
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
WrappedIOException
WrappedIOException(WebSocket connection, IOException ioException)
Wrapp an IOException and include the websocket- Parameters:
connection
- the websocket where the IOException happenedioException
- the IOException
-
-
Method Detail
-
getConnection
WebSocket getConnection()
The websocket where the IOException happened
-
getIOException
IOException getIOException()
The wrapped IOException
-
-
-
-