diff options
author | Mark Spruiell <mes@zeroc.com> | 2001-12-12 02:24:24 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2001-12-12 02:24:24 +0000 |
commit | 83c9ea4b35ab8c80bee8cd23670669a1b7f4bc5c (patch) | |
tree | 72c9194c3c75ecf93c7018b49285c562c7421234 /java/test/Ice/exceptions/Test.ice | |
parent | minor fix (diff) | |
download | ice-83c9ea4b35ab8c80bee8cd23670669a1b7f4bc5c.tar.bz2 ice-83c9ea4b35ab8c80bee8cd23670669a1b7f4bc5c.tar.xz ice-83c9ea4b35ab8c80bee8cd23670669a1b7f4bc5c.zip |
initial check-in
Diffstat (limited to 'java/test/Ice/exceptions/Test.ice')
-rw-r--r-- | java/test/Ice/exceptions/Test.ice | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/java/test/Ice/exceptions/Test.ice b/java/test/Ice/exceptions/Test.ice new file mode 100644 index 00000000000..dc42b49e0f9 --- /dev/null +++ b/java/test/Ice/exceptions/Test.ice @@ -0,0 +1,53 @@ +// ********************************************************************** +// +// Copyright (c) 2001 +// MutableRealms, Inc. +// Huntsville, AL, USA +// +// All Rights Reserved +// +// ********************************************************************** + +#ifndef TEST_ICE +#define TEST_ICE + +interface Thrower; + +exception A +{ + int a; +}; + +exception B extends A +{ + int b; +}; + +exception C extends B +{ + int c; +}; + +exception D +{ + int d; +}; + +interface Thrower +{ + void shutdown(); + void throwAasA(int a) throws A; + void throwAorDasAorD(int a) throws A, D; + void throwBasA(int a, int b) throws A; + void throwCasA(int a, int b, int c) throws A; + void throwBasB(int a, int b) throws B; + void throwCasB(int a, int b, int c) throws B; + void throwCasC(int a, int b, int c) throws C; + void throwUndeclaredA(int a) throws B, D; + void throwUndeclaredB(int a, int b); + void throwUndeclaredC(int a, int b, int c) throws D; + void throwLocalException(); + void throwNonIceException(); +}; + +#endif |