com.paypal.exception.HttpErrorException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of paypal-core Show documentation
Show all versions of paypal-core Show documentation
PayPal Java SDK Core library base and common to PayPal SDKs. The paypal-core library is a dependency for all PayPal related Java SDKs
package com.paypal.exception;
/**
* HttpErrorException denotes errors that occur in HTTP call
*
*/
public class HttpErrorException extends BaseException {
/**
* Serial version UID
*/
private static final long serialVersionUID = -4312358746964758546L;
private int responsecode;
private String errorResponse;
public HttpErrorException(String msg) {
super(msg);
}
public HttpErrorException(String msg, Throwable exception) {
super(msg, exception);
}
public HttpErrorException(int responsecode, String errorResponse, String msg, Throwable exception) {
super(msg, exception);
this.responsecode = responsecode;
this.errorResponse = errorResponse;
}
public int getResponsecode() {
return responsecode;
}
public String getErrorResponse() {
return errorResponse;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy