Package org.alfresco.util.json
Class ExceptionJsonSerializer
- java.lang.Object
-
- org.alfresco.util.json.ExceptionJsonSerializer
-
- All Implemented Interfaces:
JsonSerializer<Throwable,org.json.JSONObject>
public class ExceptionJsonSerializer extends Object implements JsonSerializer<Throwable,org.json.JSONObject>
-
-
Constructor Summary
Constructors Constructor Description ExceptionJsonSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwabledeserialize(org.json.JSONObject errorJSON)org.json.JSONObjectserialize(Throwable object)
-
-
-
Method Detail
-
deserialize
public Throwable deserialize(org.json.JSONObject errorJSON)
- Specified by:
deserializein interfaceJsonSerializer<Throwable,org.json.JSONObject>
-
serialize
public org.json.JSONObject serialize(Throwable object)
- Specified by:
serializein interfaceJsonSerializer<Throwable,org.json.JSONObject>
-
-