io.vertx.core.json

## Class DecodeException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - io.vertx.core.json.DecodeException

- All Implemented Interfaces:
    Serializable

      public class DecodeException
      extends RuntimeException

  Instances of this Exception are thrown if failed to decode a JSON string, because of invalid JSON.
  Author:
    Tim Fox
  See Also:
    Serialized Form

- - ### Constructor Summary

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

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

    - #### DecodeException

          public DecodeException()

    - #### DecodeException

          public DecodeException(String message)

    - #### DecodeException

          public DecodeException(String message,
                                 Throwable cause)

Copyright © 2025 Eclipse. All rights reserved.