Class ThrowableTypeAdapter

java.lang.Object
com.google.gson.TypeAdapter<Throwable>
com.aventstack.extentreports.gson.ThrowableTypeAdapter

public class ThrowableTypeAdapter extends com.google.gson.TypeAdapter<Throwable>
  • Constructor Details

    • ThrowableTypeAdapter

      public ThrowableTypeAdapter()
  • Method Details

    • read

      public Throwable read(com.google.gson.stream.JsonReader reader)
      Specified by:
      read in class com.google.gson.TypeAdapter<Throwable>
    • write

      public void write(com.google.gson.stream.JsonWriter out, Throwable value) throws IOException
      Specified by:
      write in class com.google.gson.TypeAdapter<Throwable>
      Throws:
      IOException