Class JsonSyntaxException

All Implemented Interfaces:
Serializable

public final class JsonSyntaxException extends IOException
Exception thrown when there is a syntax error in JSON (e.g. mismatched braces).
Since:
4.0.0
Author:
Jonas Konrad
See Also:
  • Constructor Details

    • JsonSyntaxException

      public JsonSyntaxException(Throwable cause)
      Construct a syntax exception from a framework exception (e.g. jackson JsonParseException).
      Parameters:
      cause - The framework exception
    • JsonSyntaxException

      public JsonSyntaxException(String message)
      Construct a syntax exception with just a message.
      Parameters:
      message - The message