diff --git a/bridges/test/testclient.cxx b/bridges/test/testclient.cxx index dd643aa14a7f..7b632eae2403 100644 --- a/bridges/test/testclient.cxx +++ b/bridges/test/testclient.cxx @@ -2,9 +2,9 @@ * * $RCSfile: testclient.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: jbu $ $Date: 2001-03-16 09:42:20 $ + * last change: $Author: jbu $ $Date: 2002-03-21 16:38:41 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -80,6 +80,7 @@ #include #include +#include #include #include @@ -271,6 +272,11 @@ void main( int argc, char *argv[] ) } } + catch( DisposedException & e ) + { + OString o = OUStringToOString( e.Message , RTL_TEXTENCODING_ASCII_US ); + printf( "A remote object reference became invalid\n%s\n" , o.pData->buffer ); + } catch( Exception &e ) { OString o = OUStringToOString( e.Message , RTL_TEXTENCODING_ASCII_US );