Package com.iizix.nio

Class WebSocketException

  • All Implemented Interfaces:
    java.io.Serializable

    public class WebSocketException
    extends java.io.IOException
    The WebSocketException class.
    Author:
    Christopher Mindus
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      ConstructorDescription
      WebSocketException​(java.lang.String message)
      Creates a web socket exception with a message.
      WebSocketException​(java.lang.String message, java.lang.Throwable cause)
      Creates a web socket exception with a message.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • WebSocketException

        public WebSocketException​(java.lang.String message)
        Creates a web socket exception with a message.
        Parameters:
        message - The message of the exception.
      • WebSocketException

        public WebSocketException​(java.lang.String message,
                                  java.lang.Throwable cause)
        Creates a web socket exception with a message.
        Parameters:
        message - The message of the exception.
        cause - The cause is the throwable that caused this exception to get thrown.