org.alfresco.util.json
Class ExceptionJsonSerializer

java.lang.Object
  extended by org.alfresco.util.json.ExceptionJsonSerializer
All Implemented Interfaces:
JsonSerializer

public class ExceptionJsonSerializer
extends java.lang.Object
implements JsonSerializer


Constructor Summary
ExceptionJsonSerializer()
           
 
Method Summary
 java.lang.Throwable deserialize(org.json.JSONObject errorJSON)
           
 org.json.JSONObject serialize(java.lang.Throwable object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionJsonSerializer

public ExceptionJsonSerializer()
Method Detail

deserialize

public java.lang.Throwable deserialize(org.json.JSONObject errorJSON)
Specified by:
deserialize in interface JsonSerializer

serialize

public org.json.JSONObject serialize(java.lang.Throwable object)
Specified by:
serialize in interface JsonSerializer


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.