org.glassfish.grizzly.websockets
Class ProtocolError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.glassfish.grizzly.websockets.WebSocketException
                  extended by org.glassfish.grizzly.websockets.FramingException
                      extended by org.glassfish.grizzly.websockets.ProtocolError
All Implemented Interfaces:
Serializable

public class ProtocolError
extends FramingException

See Also:
Serialized Form

Constructor Summary
ProtocolError(String s)
           
ProtocolError(String s, Throwable throwable)
           
ProtocolError(Throwable throwable)
           
 
Method Summary
 int getClosingCode()
           
 
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

ProtocolError

public ProtocolError(String s)

ProtocolError

public ProtocolError(String s,
                     Throwable throwable)

ProtocolError

public ProtocolError(Throwable throwable)
Method Detail

getClosingCode

public int getClosingCode()
Specified by:
getClosingCode in class FramingException


Copyright © 2012 Oracle Corporation. All Rights Reserved.