WebSocket 1.0 - Apache Tomcat 7.0.47

javax.websocket
Class DecodeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.websocket.DecodeException
All Implemented Interfaces:
java.io.Serializable

public class DecodeException
extends java.lang.Exception

See Also:
Serialized Form

Constructor Summary
DecodeException(java.nio.ByteBuffer bb, java.lang.String message)
           
DecodeException(java.nio.ByteBuffer bb, java.lang.String message, java.lang.Throwable cause)
           
DecodeException(java.lang.String encodedString, java.lang.String message)
           
DecodeException(java.lang.String encodedString, java.lang.String message, java.lang.Throwable cause)
           
 
Method Summary
 java.nio.ByteBuffer getBytes()
           
 java.lang.String getText()
           
 
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

DecodeException

public DecodeException(java.nio.ByteBuffer bb,
                       java.lang.String message,
                       java.lang.Throwable cause)

DecodeException

public DecodeException(java.lang.String encodedString,
                       java.lang.String message,
                       java.lang.Throwable cause)

DecodeException

public DecodeException(java.nio.ByteBuffer bb,
                       java.lang.String message)

DecodeException

public DecodeException(java.lang.String encodedString,
                       java.lang.String message)
Method Detail

getBytes

public java.nio.ByteBuffer getBytes()

getText

public java.lang.String getText()

WebSocket 1.0 - Apache Tomcat 7.0.47

Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.