e.getMessage()));
}
List pms = eh.getMessages();
if (eh.getErrors().size() > 0 || eh.getFatalErrors().size() > 0) {
throw new ImportException
("There have been problems while parsing XPDL", pms);
}
// the first element of the result list is list of prioritized messages
resultList.add(pms);
// follows the list of process definitions