summaryrefslogtreecommitdiffstats
path: root/common-app-api/src/main/java/org/openecomp/sdc/common/http/client/api/HttpExecuteException.java
blob: 6f3638ef2d6a095cb9c67a7d258d41ad3c4db53a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package org.openecomp.sdc.common.http.client.api;

public class HttpExecuteException extends Exception {

    private static final long serialVersionUID = 1L;

    public HttpExecuteException(String message) {
        super (message);
    }

    public HttpExecuteException(String message, Throwable cause) {
        super (message, cause);
    }

    public HttpExecuteException(Throwable cause) {
        super(cause);
    }
    
    @Override
    public Throwable getCause() {
        Throwable cause = super.getCause();
        return cause != null ? cause : this;
    }
}