org.json.me
Class JSONException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.json.me.JSONException

public class JSONException
extends Exception

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

Since:
BlackBerry API 6.0.0

Constructor Summary
JSONException(String message)
          Constructs a JSONException with an explanatory message.
JSONException(Throwable throwable)
          Constructs a JSONException using specified throwable
 
Method Summary
 Throwable getCause()
           
 
Methods inherited from class java.lang.Throwable
getMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, 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.
Since:
BlackBerry API 6.0.0

JSONException

public JSONException(Throwable throwable)
Constructs a JSONException using specified throwable

Parameters:
throwable -
Since:
BlackBerry API 6.0.0


Method Detail

getCause

public Throwable getCause()
Returns:
returns Throwable that caused exception.
Since:
BlackBerry API 6.0.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal