ICE 3.4.2
[php5-ice-freebsdport.git] / php / test / Ice / slicing / exceptions / Test.ice
blobc6c8071036fa91a114493564ab3ece9aabd8e7af
1 // **********************************************************************
2 //
3 // Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
4 //
5 // This copy of Ice is licensed to you under the terms described in the
6 // ICE_LICENSE file included in this distribution.
7 //
8 // **********************************************************************
10 #ifndef TEST_ICE
11 #define TEST_ICE
13 module Test
16 exception Base
18     string b;
21 exception KnownDerived extends Base
23     string kd;
26 exception KnownIntermediate extends Base
28     string ki;
31 exception KnownMostDerived extends KnownIntermediate
33     string kmd;
36 ["ami"] interface TestIntf
38     void baseAsBase() throws Base;
39     void unknownDerivedAsBase() throws Base;
40     void knownDerivedAsBase() throws Base;
41     void knownDerivedAsKnownDerived() throws KnownDerived;
43     void unknownIntermediateAsBase() throws Base;
44     void knownIntermediateAsBase() throws Base;
45     void knownMostDerivedAsBase() throws Base;
46     void knownIntermediateAsKnownIntermediate() throws KnownIntermediate;
47     void knownMostDerivedAsKnownIntermediate() throws KnownIntermediate;
48     void knownMostDerivedAsKnownMostDerived() throws KnownMostDerived;
50     void unknownMostDerived1AsBase() throws Base;
51     void unknownMostDerived1AsKnownIntermediate() throws KnownIntermediate;
52     void unknownMostDerived2AsBase() throws Base;
54     void shutdown();
59 #endif