com.kanishka.net.exception.RequestNotComplete Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of VirustotalPublicV2.0 Show documentation
Show all versions of VirustotalPublicV2.0 Show documentation
Please refer to
https://github.com/kdkanishka/Virustotal-Public-API-V2.0-Client
The newest version!
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.kanishka.net.exception;
import com.kanishka.net.model.HttpStatus;
/**
* @author [email protected]
*/
public class RequestNotComplete extends Exception {
private HttpStatus httpStatus;
public RequestNotComplete(HttpStatus httpStatus) {
this.httpStatus = httpStatus;
}
public RequestNotComplete(String message, HttpStatus httpStatus) {
super(message);
this.httpStatus = httpStatus;
}
public RequestNotComplete(String message, Throwable cause, HttpStatus httpStatus) {
super(message, cause);
this.httpStatus = httpStatus;
}
public RequestNotComplete(Throwable cause, HttpStatus httpStatus) {
super(cause);
this.httpStatus = httpStatus;
}
public HttpStatus getHttpStatus() {
return httpStatus;
}
}