summaryrefslogtreecommitdiff
path: root/cppe/demo/IceE/MFC/client/HelloClientDlg.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2005-08-06 04:01:11 +0000
committerMatthew Newhook <matthew@zeroc.com>2005-08-06 04:01:11 +0000
commita8038f080bc2b991d854f64f2a074975c2463d37 (patch)
treeffcd7f03922d5a8f8620900e46ba4e4596e235b9 /cppe/demo/IceE/MFC/client/HelloClientDlg.cpp
parentFixed slice file install (diff)
downloadice-a8038f080bc2b991d854f64f2a074975c2463d37.tar.bz2
ice-a8038f080bc2b991d854f64f2a074975c2463d37.tar.xz
ice-a8038f080bc2b991d854f64f2a074975c2463d37.zip
clean up MFC demo. Fix bug with the status bar.
Diffstat (limited to 'cppe/demo/IceE/MFC/client/HelloClientDlg.cpp')
-rw-r--r--cppe/demo/IceE/MFC/client/HelloClientDlg.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/cppe/demo/IceE/MFC/client/HelloClientDlg.cpp b/cppe/demo/IceE/MFC/client/HelloClientDlg.cpp
index afd35e26d7f..951cdfadb8b 100644
--- a/cppe/demo/IceE/MFC/client/HelloClientDlg.cpp
+++ b/cppe/demo/IceE/MFC/client/HelloClientDlg.cpp
@@ -132,7 +132,7 @@ CHelloClientDlg::OnSayHello()
_status->SetWindowText(CString(" Sent request"));
}
}
- catch(const Ice::Exception& ex)
+ catch(const IceUtil::Exception& ex)
{
handleException(ex);
}
@@ -146,7 +146,7 @@ CHelloClientDlg::OnFlush()
_communicator->flushBatchRequests();
_status->SetWindowText(CString(" Flushed batch requests"));
}
- catch(const Ice::Exception& ex)
+ catch(const IceUtil::Exception& ex)
{
handleException(ex);
}
@@ -168,7 +168,7 @@ CHelloClientDlg::OnShutdown()
_status->SetWindowText(CString(" Sent shutdown request"));
}
}
- catch(const Ice::Exception& ex)
+ catch(const IceUtil::Exception& ex)
{
handleException(ex);
}
@@ -221,7 +221,7 @@ CHelloClientDlg::updateProxy()
}
void
-CHelloClientDlg::handleException(const Ice::Exception& e)
+CHelloClientDlg::handleException(const IceUtil::Exception& e)
{
try
{
@@ -232,7 +232,7 @@ CHelloClientDlg::handleException(const Ice::Exception& e)
AfxMessageBox(CString("The proxy does not support the current configuration"),
MB_OK|MB_ICONEXCLAMATION);
}
- catch(const Ice::Exception& ex)
+ catch(const IceUtil::Exception& ex)
{
AfxMessageBox(CString(ex.toString().c_str()), MB_OK|MB_ICONEXCLAMATION);
}