Class NotJSONException

All Implemented Interfaces:
Serializable

public final class NotJSONException extends JSONException
An extension of JSONException to explicitly indicate that HttpClientResponse identified the response body as not JSON, due to the first character not being a {
Author:
gmt2001
See Also:
  • Constructor Details

    • NotJSONException

      public NotJSONException()
      Constructor
    • NotJSONException

      public NotJSONException(String message)
      Constructor with message override
      Parameters:
      message - The error message