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

arjuna.lib.httpclient.SetuHttpException Maven / Gradle / Ivy

Go to download

Arjuna-Java is the client implementation in Java for development of test automation using Arjuna. It uses TestNG as the test engine. With minor tweaks, it can be used with any other test engine or custom test automation implementations. Arjuna is a Python based test automation framework developed by Rahul Verma (www.rahulverma.net)

The newest version!
package arjuna.lib.httpclient;

public class SetuHttpException extends Exception{
	private String message;
	private int statusCode;
	private String response;

	private static final long serialVersionUID = -1008054652226003943L;
	
	public SetuHttpException(String msg, int status, String response) {
		this.setStatusCode(status);
		this.setResponse(response);
		this.setMessage(msg);
	}

	public int getStatusCode() {
		return statusCode;
	}

	private void setStatusCode(int statusCode) {
		this.statusCode = statusCode;
	}

	public String getResponse() {
		return response;
	}

	private void setResponse(String response) {
		this.response = response;
	}

	public String getMessage() {
		return message;
	}

	private void setMessage(String message) {
		this.message = message;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy