diff options
author | Jose <jose@zeroc.com> | 2011-12-07 01:29:37 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2011-12-07 01:29:37 +0100 |
commit | e621be781151af92e49d807a6fa5e964145ba0c6 (patch) | |
tree | 0c9698aa356c6ff4e81707e63cfd01e9a26e6116 /cpp/test/Ice/exceptions/ExceptionsI.cpp | |
parent | Glacier2 C++ SessionHelper VC100 fix (diff) | |
download | ice-e621be781151af92e49d807a6fa5e964145ba0c6.tar.bz2 ice-e621be781151af92e49d807a6fa5e964145ba0c6.tar.xz ice-e621be781151af92e49d807a6fa5e964145ba0c6.zip |
ICE-4594 Patch for local exception and C++ ice_print
Diffstat (limited to 'cpp/test/Ice/exceptions/ExceptionsI.cpp')
-rw-r--r-- | cpp/test/Ice/exceptions/ExceptionsI.cpp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/cpp/test/Ice/exceptions/ExceptionsI.cpp b/cpp/test/Ice/exceptions/ExceptionsI.cpp new file mode 100644 index 00000000000..d5e20df7fc4 --- /dev/null +++ b/cpp/test/Ice/exceptions/ExceptionsI.cpp @@ -0,0 +1,32 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +#include <Test.h> + +using namespace std; + +void +Test::F::ice_print(ostream& out) const +{ + Exception::ice_print(out); + if(!data.empty()) + { + out << " data:'F'"; + } +} + +void +Test::H::ice_print(ostream& out) const +{ + Exception::ice_print(out); + if(!data.empty()) + { + out << " data:'H'"; + } +} |