public class MidtransError
extends java.lang.Exception
Constructor and Description |
---|
MidtransError(java.lang.String message)
Constructs a Midtrans exception with the message
|
MidtransError(java.lang.String message,
java.lang.Integer statusCode,
java.lang.String data,
okhttp3.Response response)
Constructs a Midtrans exception with the specified details.
|
MidtransError(java.lang.String message,
java.lang.Integer statusCode,
java.lang.String responseBody,
okhttp3.Response response,
java.lang.Throwable e)
Constructs a Midtrans exception with the specified details.
|
MidtransError(java.lang.String message,
java.lang.Throwable cause)
Constructs a Midtrans exception with message and specified cause
|
MidtransError(java.lang.Throwable cause)
Constructs a Midtrans exception with the specified cause
|
public MidtransError(java.lang.String message)
message
- public MidtransError(java.lang.Throwable cause)
cause
- public MidtransError(java.lang.String message, java.lang.Throwable cause)
message
- cause
- public MidtransError(java.lang.String message, java.lang.Integer statusCode, java.lang.String data, okhttp3.Response response)
message
- statusCode
- data
- response
- public MidtransError(java.lang.String message, java.lang.Integer statusCode, java.lang.String responseBody, okhttp3.Response response, java.lang.Throwable e)
message
- statusCode
- responseBody
- response
- e
-