This project has retired. For details please refer to its
Attic page.
org.apache.wink.json4j
Class JSONException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.wink.json4j.JSONException
- All Implemented Interfaces:
- Serializable
public class JSONException
- extends Exception
Class that implements an exception type thrown by all JSON classes
as a common exception when JSON handling errors occur.
- See Also:
- Serialized Form
|
Method Summary |
Throwable |
getCause()
Method to get the underlying cause of the JSONException |
JSONException
public JSONException(String message)
- Constructor for JSON Exception
- Parameters:
message - The error that generated the exception.
JSONException
public JSONException(Throwable t)
- Constructor for JSON Exception
- Parameters:
t - The exception that generated this exception.
getCause
public Throwable getCause()
- Method to get the underlying cause of the JSONException
- Overrides:
getCause in class Throwable
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.