summaryrefslogtreecommitdiff
path: root/java/test/Ice/exceptions/ThrowerI.java
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-09-29 21:01:36 +0000
committerMarc Laukien <marc@zeroc.com>2002-09-29 21:01:36 +0000
commit89db42455511ba6cb978145beb66c6868589a0de (patch)
tree88ca2c0f877cca16b454f06030fa7cf1c783ea2f /java/test/Ice/exceptions/ThrowerI.java
parentlots and lots of fixes (diff)
downloadice-89db42455511ba6cb978145beb66c6868589a0de.tar.bz2
ice-89db42455511ba6cb978145beb66c6868589a0de.tar.xz
ice-89db42455511ba6cb978145beb66c6868589a0de.zip
lots of fixes
Diffstat (limited to 'java/test/Ice/exceptions/ThrowerI.java')
-rw-r--r--java/test/Ice/exceptions/ThrowerI.java21
1 files changed, 9 insertions, 12 deletions
diff --git a/java/test/Ice/exceptions/ThrowerI.java b/java/test/Ice/exceptions/ThrowerI.java
index 1abf04d7727..684593a077d 100644
--- a/java/test/Ice/exceptions/ThrowerI.java
+++ b/java/test/Ice/exceptions/ThrowerI.java
@@ -24,12 +24,6 @@ public final class ThrowerI extends _ThrowerDisp
_adapter.getCommunicator().shutdown();
}
- public boolean
- supportsUndeclaredExceptions(Ice.Current current)
- {
- return false;
- }
-
public void
throwAasA(int a, Ice.Current current)
throws A
@@ -112,27 +106,30 @@ public final class ThrowerI extends _ThrowerDisp
throw new RuntimeException();
}
+ public boolean
+ supportsUndeclaredExceptions(Ice.Current current)
+ {
+ return false;
+ }
+
public void
throwUndeclaredA(int a, Ice.Current current)
- throws B,
- D
{
- // Not possible in Java
+ // Not possible in Java.
throw new Ice.UnknownUserException();
}
public void
throwUndeclaredB(int a, int b, Ice.Current current)
{
- // Not possible in Java
+ // Not possible in Java.
throw new Ice.UnknownUserException();
}
public void
throwUndeclaredC(int a, int b, int c, Ice.Current current)
- throws D
{
- // Not possible in Java
+ // Not possible in Java.
throw new Ice.UnknownUserException();
}