= new GsonBuilder()
.registerTypeAdapter(RequestNotPracticableException.class,
new SimpleExceptionSerializer())
.registerTypeAdapter(RequestNotPracticableException.class,
new RequestNotPracticableExceptionDeserializer())
.registerTypeAdapter(InternalErrorException.class,
new SimpleExceptionSerializer())
.registerTypeAdapter(InternalErrorException.class,
new InternalErrorExceptionDeserializer())
.registerTypeAdapter(APIException.class,
new SimpleExceptionSerializer())
.registerTypeAdapter(APIException.class,
new APIExceptionDeserializer())
.registerTypeAdapter(PermissionException.class,
new SimpleExceptionSerializer())
.registerTypeAdapter(PermissionException.class,
new PermissionExceptionDeserializer())
.registerTypeAdapter(Date.class, new DateSerializer())
.registerTypeAdapter(Date.class, new DateDeserializer()).create()