DecodeException (Apache Tomcat 7.0.104 API Documentation)

javax.websocket

## Class DecodeException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - javax.websocket.DecodeException

- All Implemented Interfaces:
    Serializable

      public class DecodeException
      extends Exception

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DecodeException(ByteBuffer bb, String message)`
    `DecodeException(ByteBuffer bb, String message, Throwable cause)`
    `DecodeException(String encodedString, String message)`
    `DecodeException(String encodedString, String message, Throwable cause)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ByteBuffer` | `getBytes()`
    `String` | `getText()`

    - ### 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

    - #### DecodeException

          public DecodeException(ByteBuffer bb,
                         String message,
                         Throwable cause)

    - #### DecodeException

          public DecodeException(String encodedString,
                         String message,
                         Throwable cause)

    - #### DecodeException

          public DecodeException(ByteBuffer bb,
                         String message)

    - #### DecodeException

          public DecodeException(String encodedString,
                         String message)

  - ### Method Detail

    - #### getBytes

          public ByteBuffer getBytes()

    - #### getText

          public String getText()

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