Package groovy.json

Class JsonException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Exceptions.JsonInternalException

public class JsonException
extends RuntimeException
JsonException is the exception thrown by the JSON builder and slurper classes, whenever a problem occurs when creating or parsing JSON data structures.
Since:
1.8.0
See Also:
Serialized Form
  • Constructor Details

    • JsonException

      public JsonException()
    • JsonException

      public JsonException​(String s)
    • JsonException

      public JsonException​(String s, Throwable throwable)
    • JsonException

      public JsonException​(Throwable throwable)