@Override public RequestErrorDetails validateAndBuild() throws IOException { try { return builder.build(); } catch (Exception ex) { throw new APIParsingException(ex.getMessage()); } }
public void readLocation(JsonParser parser) throws IOException { builder.setLocation(parser.readValueAs(RequestErrorDetails.Location.class)); }
public void readError(JsonParser parser) throws IOException { builder.setError(parser.readValueAs(String.class)); }