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

com.fitbur.github.dockerjava.api.DockerException Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
package com.fitbur.github.dockerjava.api;

/**
 *
 * @author Konstantin Pelykh ([email protected])
 *
 */

public class DockerException extends RuntimeException {

    private static final long serialVersionUID = 7667768099261650608L;

    private int httpStatus = 0;

    public DockerException(String message, int httpStatus) {
        super(message);
        this.httpStatus = httpStatus;
    }

    public DockerException(String message, int httpStatus, Throwable cause) {
        super(message, cause);
    }

    public int getHttpStatus() {
        return httpStatus;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy