changed catched Exception to IO-/XWikiException