org.java_websocket.exceptions
Class InvalidDataException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.java_websocket.exceptions.InvalidDataException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidFrameException, InvalidHandshakeException, LimitExedeedException

public class InvalidDataException
extends Exception

See Also:
Serialized Form

Constructor Summary
InvalidDataException(int closecode)
           
InvalidDataException(int closecode, String s)
           
InvalidDataException(int closecode, String s, Throwable t)
           
InvalidDataException(int closecode, Throwable t)
           
 
Method Summary
 int getCloseCode()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

InvalidDataException

public InvalidDataException(int closecode)

InvalidDataException

public InvalidDataException(int closecode,
                            String s)

InvalidDataException

public InvalidDataException(int closecode,
                            Throwable t)

InvalidDataException

public InvalidDataException(int closecode,
                            String s,
                            Throwable t)
Method Detail

getCloseCode

public int getCloseCode()


Copyright © 2013 Pusher. All Rights Reserved.