Sync Integ to Master
[sdc.git] / common-app-api / src / main / java / org / openecomp / sdc / common / http / client / api / HttpExecuteException.java
1 package org.openecomp.sdc.common.http.client.api;
2
3 public class HttpExecuteException extends Exception {
4
5     private static final long serialVersionUID = 1L;
6
7     public HttpExecuteException(String message) {
8         super (message);
9     }
10
11     public HttpExecuteException(String message, Throwable cause) {
12         super (message, cause);
13     }
14
15     public HttpExecuteException(Throwable cause) {
16         super(cause);
17     }
18     
19     @Override
20     public Throwable getCause() {
21         Throwable cause = super.getCause();
22         return cause != null ? cause : this;
23     }
24 }