} catch (WFSTransactionException e) {
exception = true;
LOGGER.log(Level.SEVERE, "Transaction failed", e);
// transaction failed, rollback
ActionType action = WfsFactory.eINSTANCE.createActionType();
if (e.getCode() != null) {
action.setCode(e.getCode());
} else {
action.setCode("InvalidParameterValue");
}
action.setLocator(e.getLocator());
action.setMessage(e.getMessage());
result.getTransactionResults().getAction().add(action);
}
// commit
boolean committed = false;