summaryrefslogtreecommitdiffstats
path: root/docker-api/src/main/java/com/yahoo/vespa/hosted/dockerapi/exception/DockerException.java
blob: df6bb702bf736499666f3d5987b90ced1fc9ce15 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.dockerapi.exception;

/**
 * This exception wraps any exception thrown by docker-java
 */
@SuppressWarnings("serial")
public class DockerException extends RuntimeException {
    public DockerException(String message) {
        super(message);
    }

    public DockerException(String message, Exception exception) {
        super(message, exception);
    }
}