protected void openConnection(IOfficeProgressMonitor officeProgressMonitor) throws OfficeApplicationException {
try {
RemoteOfficeConnection remoteOfficeConnection = new RemoteOfficeConnection();
remoteOfficeConnection.setPort(port);
remoteOfficeConnection.setHost(host);
remoteOfficeConnection.openConnection(officeProgressMonitor);
setOfficeConnection(remoteOfficeConnection);
}
catch(Exception exception) {
OfficeApplicationException officeApplicationException = new OfficeApplicationException(exception.getMessage());
officeApplicationException.initCause(exception);