diff options
author | Marc Laukien <marc@zeroc.com> | 2004-04-18 14:45:02 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2004-04-18 14:45:02 +0000 |
commit | ca2755655616eb51b59ab7989ee24e525927ba92 (patch) | |
tree | e792090344a4735f0604110a71f5f3dfab3c19bf /java/test/Ice/exceptions/Test.ice | |
parent | Added back createObject and destroyObject (diff) | |
download | ice-ca2755655616eb51b59ab7989ee24e525927ba92.tar.bz2 ice-ca2755655616eb51b59ab7989ee24e525927ba92.tar.xz ice-ca2755655616eb51b59ab7989ee24e525927ba92.zip |
assertions are now correctly caught
Diffstat (limited to 'java/test/Ice/exceptions/Test.ice')
-rw-r--r-- | java/test/Ice/exceptions/Test.ice | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/java/test/Ice/exceptions/Test.ice b/java/test/Ice/exceptions/Test.ice index 095fa989cbc..2ac6482d3e7 100644 --- a/java/test/Ice/exceptions/Test.ice +++ b/java/test/Ice/exceptions/Test.ice @@ -41,23 +41,11 @@ exception D int dMem; }; -/* - * Generates code that cannot be compiled in Java. - * -module Mod -{ - exception A extends :: A - { - int a2Mem; - }; -}; - */ - - ["ami"] interface Thrower { void shutdown(); bool supportsUndeclaredExceptions(); + bool supportsAssertException(); void throwAasA(int a) throws A; void throwAorDasAorD(int a) throws A, D; @@ -67,16 +55,12 @@ module Mod void throwCasB(int a, int b, int c) throws B; void throwCasC(int a, int b, int c) throws C; - // - // Not supported in Java. - // - //void throwModA(int a, int a2) throws Mod::A; - void throwUndeclaredA(int a); void throwUndeclaredB(int a, int b); void throwUndeclaredC(int a, int b, int c); void throwLocalException(); void throwNonIceException(); + void throwAssertException(); }; ["ami"] interface WrongOperation |