arjuna.lib.httpclient.SetuHttpException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of arjuna-java Show documentation
Show all versions of arjuna-java Show documentation
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