summaryrefslogtreecommitdiff
path: root/java/test/Ice/exceptions/Test.ice
diff options
context:
space:
mode:
Diffstat (limited to 'java/test/Ice/exceptions/Test.ice')
-rw-r--r--java/test/Ice/exceptions/Test.ice20
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