|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.wink.json4j.JSONException
public class JSONException
Class that implements an exception type thrown by all JSON classes as a common exception when JSON handling errors occur.
| Constructor Summary | |
|---|---|
JSONException(java.lang.String message)
Constructor for JSON Exception |
|
JSONException(java.lang.Throwable t)
Constructor for JSON Exception |
|
| Method Summary | |
|---|---|
java.lang.Throwable |
getCause()
Method to get the underlying cause of the JSONException |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, 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 |
|---|
public JSONException(java.lang.String message)
message - The error that generated the exception.public JSONException(java.lang.Throwable t)
t - The exception that generated this exception.| Method Detail |
|---|
public java.lang.Throwable getCause()
getCause in class java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||