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

com.kanishka.net.exception.RequestNotComplete Maven / Gradle / Ivy

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy