org.xerial.json
Class JSONException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.xerial.core.XerialException
org.xerial.json.JSONException
- All Implemented Interfaces:
- Serializable
public class JSONException
- extends XerialException
Exception class related JSON
- Author:
- leo
- See Also:
- Serialized Form
JSONException
public JSONException(JSONErrorCode errorCode)
- Parameters:
errorCode -
JSONException
public JSONException(JSONErrorCode errorCode,
String message)
JSONException
public JSONException(JSONErrorCode errorCode,
String message,
Throwable e)
- Parameters:
errorCode - message - e -
JSONException
public JSONException(JSONErrorCode errorCode,
Throwable e)
- Parameters:
errorCode - e -
JSONException
public JSONException(JSONErrorCode errorCode,
Object... message)
- Parameters:
errorCode - message -
getMessage
public String getMessage()
- Overrides:
getMessage in class Throwable
getErrorCode
public JSONErrorCode getErrorCode()
- Gets the error code
- Returns:
- the error code

This work is licensed under a Creative Commons Attribution-ShareAlike 2.1 Japan License.