com.mizhousoft.commons.json.JSONException Maven / Gradle / Ivy
package com.mizhousoft.commons.json;
import com.mizhousoft.commons.data.NestedException;
/**
* JSON异常
*
* @version
*/
public class JSONException extends NestedException
{
private static final long serialVersionUID = 21286418191052225L;
/**
* 构造函数
*
* @param errorCode
* @param message
* @param throwable
*/
public JSONException(String errorCode, String message, Throwable throwable)
{
super(errorCode, message, throwable);
}
/**
* 构造函数
*
* @param errorCode
* @param message
*/
public JSONException(String errorCode, String message)
{
super(errorCode, message);
}
/**
* 构造函数
*
* @param errorCode
* @param codeParams
* @param message
* @param throwable
*/
public JSONException(String errorCode, String[] codeParams, String message, Throwable throwable)
{
super(errorCode, codeParams, message, throwable);
}
/**
* 构造函数
*
* @param errorCode
* @param codeParams
* @param message
*/
public JSONException(String errorCode, String[] codeParams, String message)
{
super(errorCode, codeParams, message);
}
/**
* 构造函数
*
* @param message
* @param throwable
*/
public JSONException(String message, Throwable throwable)
{
super(message, throwable);
}
/**
* 构造函数
*
* @param message
*/
public JSONException(String message)
{
super(message);
}
}