ICE 3.4.2
[php5-ice-freebsdport.git] / java / test / Ice / slicing / exceptions / ServerPrivateAMD.ice
blob78315603da32a11e1d7ed382b9ae3214251c3a06
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 SERVERPRIVATE_AMD_ICE
11 #define SERVERPRIVATE_AMD_ICE
13 [["java:package:test.Ice.slicing.exceptions.serverAMD"]]
14 module Test
17 // Duplicate types from Test.ice. We cannot use #include since
18 // that will use the types from the same prefix.
19 exception Base
21     string b;
24 exception KnownDerived extends Base
26     string kd;
29 exception KnownIntermediate extends Base
31     string ki;
34 exception KnownMostDerived extends KnownIntermediate
36     string kmd;
39 ["amd"] interface TestIntf
41     void baseAsBase() throws Base;
42     void unknownDerivedAsBase() throws Base;
43     void knownDerivedAsBase() throws Base;
44     void knownDerivedAsKnownDerived() throws KnownDerived;
46     void unknownIntermediateAsBase() throws Base;
47     void knownIntermediateAsBase() throws Base;
48     void knownMostDerivedAsBase() throws Base;
49     void knownIntermediateAsKnownIntermediate() throws KnownIntermediate;
50     void knownMostDerivedAsKnownIntermediate() throws KnownIntermediate;
51     void knownMostDerivedAsKnownMostDerived() throws KnownMostDerived;
53     void unknownMostDerived1AsBase() throws Base;
54     void unknownMostDerived1AsKnownIntermediate() throws KnownIntermediate;
55     void unknownMostDerived2AsBase() throws Base;
57     void shutdown();
60 // Additional server specific types (used for testing slicing).
62 exception UnknownDerived extends Base
64     string ud;
67 exception UnknownIntermediate extends Base
69    string ui;
72 exception UnknownMostDerived1 extends KnownIntermediate
74    string umd1;
77 exception UnknownMostDerived2 extends UnknownIntermediate
79    string umd2;
84 #endif