Class ExceptionJsonSerializer

  • All Implemented Interfaces:
    JsonSerializer<java.lang.Throwable,​org.json.JSONObject>

    public class ExceptionJsonSerializer
    extends java.lang.Object
    implements JsonSerializer<java.lang.Throwable,​org.json.JSONObject>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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<java.lang.Throwable,​org.json.JSONObject>
      • serialize

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