code: public JsonSerializationException traceError( Object value, String message ) {
          getLogger().log( Level.SEVERE, message );
          return new JsonSerializationException( message );
      }
docs: Trace an error and returns a corresponding exception.
  
  @param value current value
  @param message error message
  
  @return a {@link JsonSerializationException} with the given message