Package 

Class WrappedIOException

  • 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

    • 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 happened
        ioException - the IOException