org.inria.ns.reflex.util.json
Class JSONException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.inria.ns.reflex.util.json.JSONException
All Implemented Interfaces:
Serializable

public class JSONException
extends Exception

Exceptions for JSON.

Author:
Philippe Poulard
See Also:
Serialized Form

Constructor Summary
JSONException(String string)
          Create a new JSON exception.
JSONException(String string, Throwable cause)
          Create a new JSON exception.
JSONException(Throwable cause)
          Create a new JSON exception.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JSONException

public JSONException(String string)
Create a new JSON exception.

Parameters:
string - The error message.

JSONException

public JSONException(String string,
                     Throwable cause)
Create a new JSON exception.

Parameters:
string - The error message.
cause - The cause.

JSONException

public JSONException(Throwable cause)
Create a new JSON exception.

Parameters:
cause - The cause.