
com.github.xphsc.exception.JSONException Maven / Gradle / Ivy
package com.github.xphsc.exception;
import com.github.xphsc.util.StringUtil;
/**
* Created by ${huipei.x} on 2017-6-1.
*/
public class JSONException extends RuntimeException {
private static final long serialVersionUID = 0L;
public JSONException(String message) {
super(message);
}
public JSONException(String message, Throwable cause) {
super(message, cause);
}
public JSONException(Throwable cause) {
super(cause.getMessage(), cause);
}
public JSONException(Throwable throwable, String messageTemplate, Object... params) {
super(StringUtil.format(messageTemplate, params), throwable);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy