List<PropertyDTO> properties = new ArrayList<PropertyDTO>();
for (Map.Entry<String, String> p :
recoverableErrorException.getProperties().entrySet()) {
properties.add(new PropertyDTO(p.getKey(), p.getValue()));
}
RecoverableErrorDTO recoverableErrorDTO = new RecoverableErrorDTO(
recoverableErrorException.getErrorCode().ordinal() + 1,