cn.geektool.http.webservice.SoapRuntimeException Maven / Gradle / Ivy
The newest version!
package cn.geektool.http.webservice;
import cn.geektool.core.util.StrUtil;
/**
* SOAP异常
*
* @author xiaoleilu
*/
public class SoapRuntimeException extends RuntimeException {
private static final long serialVersionUID = 8247610319171014183L;
public SoapRuntimeException(Throwable e) {
super(e.getMessage(), e);
}
public SoapRuntimeException(String message) {
super(message);
}
public SoapRuntimeException(String messageTemplate, Object... params) {
super(StrUtil.format(messageTemplate, params));
}
public SoapRuntimeException(String message, Throwable throwable) {
super(message, throwable);
}
public SoapRuntimeException(Throwable throwable, String messageTemplate, Object... params) {
super(StrUtil.format(messageTemplate, params), throwable);
}
}