org.apache.sling.commons.json
Class JSONException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.sling.commons.json.JSONException
All Implemented Interfaces:
Serializable

public class JSONException
extends Exception

The JSONException is thrown by the JSON.org classes then things are amiss.

Version:
2
Author:
JSON.org
See Also:
Serialized Form

Constructor Summary
JSONException(String message)
          Constructs a JSONException with an explanatory message.
JSONException(String message, Throwable t)
           
JSONException(Throwable t)
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JSONException

public JSONException(String message)
Constructs a JSONException with an explanatory message.

Parameters:
message - Detail about the reason for the exception.

JSONException

public JSONException(Throwable t)

JSONException

public JSONException(String message,
                     Throwable t)


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.