All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.paypal.base.exception.ClientActionRequiredException Maven / Gradle / Ivy

There is a newer version: 1.14.0
Show newest version
package com.paypal.base.exception;

/**
 * ClientActionRequiredException, encapsulates instances where client has to
 * take actions based or errors in API call.
 * 
 */
public class ClientActionRequiredException extends HttpErrorException {

	/**
	 * Serial version UID
	 */
	private static final long serialVersionUID = -15345584654755445L;

	public ClientActionRequiredException(String message) {
		super(message);
	}

	public ClientActionRequiredException(String message, Throwable exception) {
		super(message, exception);
	}

	public ClientActionRequiredException(int responsecode, String errorResponse, String msg, Throwable exception) {
		super(responsecode, errorResponse, msg, exception);
	}
	
	public String toString() {
		return "HTTP response code: " + this.getResponsecode() + "\n"
				+ "error message: " + this.getErrorResponse();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy