summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/exceptions/ExceptionsI.cpp
blob: b076c0a5d36b1ac30239947ce2f64c553d2e7214 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//

#ifdef ICE_AMD_TEST
#   include <TestAMD.h>
#else
#   include <Test.h>
#endif

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'";
    }
}