}
if (StringUtil.isEmpty(noteId)) {
return doNewDocument(context);
}
OpenntfDominoDocument ntfDoc = openDocument(noteId);
return new DominoDocumentDataContainer(getBeanId(), getUniqueId(), ntfDoc);
} catch (Exception localException) {
throw new FacesExceptionEx(ResourceHandler.getString("DominoDocumentData.Couldnotopenthedocument"), localException);
}
}