Class V2JsonBody.MalformedJsonException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.codelibs.fess.api.v2.handlers.V2JsonBody.MalformedJsonException
All Implemented Interfaces:
Serializable
Enclosing class:
V2JsonBody

public static class V2JsonBody.MalformedJsonException extends IOException
Thrown when the request body is not parseable as JSON. Handlers should map this to a 400 Bad Request envelope error.
See Also:
  • Constructor Details

    • MalformedJsonException

      public MalformedJsonException(String m)
      Creates the exception with a diagnostic message.
      Parameters:
      m - parser-supplied description of the malformed input