com.chargebee
Class APIException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.chargebee.APIException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- InvalidRequestException, OperationFailedException, PaymentException
public class APIException
- extends RuntimeException
- See Also:
- Serialized Form
|
Constructor Summary |
APIException(int httpStatusCode,
org.json.JSONObject jsonObj)
|
jsonObj
public final org.json.JSONObject jsonObj
httpStatusCode
public final int httpStatusCode
type
public final String type
param
public final String param
apiErrorCode
public final String apiErrorCode
httpCode
@Deprecated
public final int httpCode
- Deprecated.
- Use
httpStatusCode instead.
code
@Deprecated
public final String code
- Deprecated.
- Use
apiErrorCode instead.
message
@Deprecated
public final String message
- Deprecated.
- Use
Throwable.getMessage() instead.
APIException
public APIException(int httpStatusCode,
org.json.JSONObject jsonObj)
throws Exception
- Throws:
Exception
isParamErr
public boolean isParamErr()
toString
public String toString()
- Overrides:
toString in class Throwable
Copyright © 2015 ChargeBee. All Rights Reserved.