org.apache.struts2.json

## Class JSONException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - org.apache.struts2.json.JSONException

- All Implemented Interfaces:
    Serializable

      public class JSONException
      extends Exception

  Wrap exceptions throwed by the JSON serializer
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JSONException(String message)`
    `JSONException(String message, Throwable cause)`
    `JSONException(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

    - #### JSONException

          public JSONException(String message)

    - #### JSONException

          public JSONException(Throwable cause)

    - #### JSONException

          public JSONException(String message,
                               Throwable cause)

Copyright © 2000–2025 Apache Software Foundation. All rights reserved.