public class JSONUtilities
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static org.json.JSONObject |
toJSONObject(java.lang.Throwable t)
Describe a throwable as a JSONObject.
|
public static org.json.JSONObject toJSONObject(java.lang.Throwable t)
aptjson.includeStackTracesystem property is set to
true, the stack traces will also be included.
t - The throwable to transform.