public class APIException extends RuntimeException
Modifier and Type | Field and Description |
---|---|
String |
apiErrorCode |
String |
code
Deprecated.
|
int |
httpCode
Deprecated.
|
int |
httpStatusCode |
org.json.JSONObject |
jsonObj |
String |
message
Deprecated.
|
String |
param |
String |
type |
Constructor and Description |
---|
APIException(int httpStatusCode,
String message,
org.json.JSONObject jsonObj) |
Modifier and Type | Method and Description |
---|---|
boolean |
isParamErr() |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public final org.json.JSONObject jsonObj
public final int httpStatusCode
public final String type
public final String param
public final String apiErrorCode
@Deprecated public final int httpCode
httpStatusCode
instead.@Deprecated public final String code
apiErrorCode
instead.@Deprecated public final String message
Throwable.getMessage()
instead.public APIException(int httpStatusCode, String message, org.json.JSONObject jsonObj)
Copyright © 2023 ChargeBee. All rights reserved.