com.github.dockerjava.api.exception.DockerException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.docker-java
Show all versions of org.apache.servicemix.bundles.docker-java
This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.
package com.github.dockerjava.api.exception;
/**
*
* @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;
}
}