com.jchanghong.http.webservice.SoapRuntimeException Maven / Gradle / Ivy
The newest version!
package com.jchanghong.http.webservice;
import com.jchanghong.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);
}
}