@SuppressWarnings("unchecked") List<String> texts = ex.getExceptionText(); result.addExceptionDetails(ex.getExceptionCode(), ex.getLocator(), texts);
@SuppressWarnings("unchecked") List<String> texts = ex.getExceptionText(); result.addExceptionDetails(ex.getExceptionCode(), ex.getLocator(), texts);