cn.majingjing.http.client.exception.HttpClientException Maven / Gradle / Ivy
The newest version!
package cn.majingjing.http.client.exception;
/**
* Http Exception
*
* @author MaMarion
* @date 2020/4/24
*/
public class HttpClientException extends RuntimeException{
public HttpClientException() {
}
public HttpClientException(String message) {
super(message);
}
public HttpClientException(String message, Throwable cause) {
super(message, cause);
}
public HttpClientException(String traceId,String url, Throwable cause) {
super(String.format("MJJ-Trace-Id:%s , Url:%s",traceId,url), cause);
}
public HttpClientException(Throwable cause) {
super(cause);
}
public HttpClientException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy