diff options
author | Matthew Newhook <matthew@zeroc.com> | 2014-08-12 15:50:25 -0230 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2014-08-12 15:50:25 -0230 |
commit | 2f5c841cfce2ae5ff26e2e373c3ea7188da8b75b (patch) | |
tree | b460e22e91a9fbb9cfb71631303963fa94dd2c9c /java/test/Ice/exceptions/ThrowerI.java | |
parent | ICE-5492 Tcp Loopback Fast Path for C#/C++ on Windows (diff) | |
download | ice-2f5c841cfce2ae5ff26e2e373c3ea7188da8b75b.tar.bz2 ice-2f5c841cfce2ae5ff26e2e373c3ea7188da8b75b.tar.xz ice-2f5c841cfce2ae5ff26e2e373c3ea7188da8b75b.zip |
Added eclipse project settings for java.
Fix lots of warnings in Ice for Java.
Diffstat (limited to 'java/test/Ice/exceptions/ThrowerI.java')
-rw-r--r-- | java/test/Ice/exceptions/ThrowerI.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/java/test/Ice/exceptions/ThrowerI.java b/java/test/Ice/exceptions/ThrowerI.java index f15db3be407..8859147bd36 100644 --- a/java/test/Ice/exceptions/ThrowerI.java +++ b/java/test/Ice/exceptions/ThrowerI.java @@ -22,24 +22,28 @@ public final class ThrowerI extends _ThrowerDisp { } + @Override public void shutdown(Ice.Current current) { current.adapter.getCommunicator().shutdown(); } + @Override public boolean supportsUndeclaredExceptions(Ice.Current current) { return false; } + @Override public boolean supportsAssertException(Ice.Current current) { return true; } + @Override public void throwAasA(int a, Ice.Current current) throws A @@ -49,6 +53,7 @@ public final class ThrowerI extends _ThrowerDisp throw ex; } + @Override public void throwAorDasAorD(int a, Ice.Current current) throws A, @@ -68,6 +73,7 @@ public final class ThrowerI extends _ThrowerDisp } } + @Override public void throwBasA(int a, int b, Ice.Current current) throws A @@ -75,6 +81,7 @@ public final class ThrowerI extends _ThrowerDisp throwBasB(a, b, current); } + @Override public void throwBasB(int a, int b, Ice.Current current) throws B @@ -85,6 +92,7 @@ public final class ThrowerI extends _ThrowerDisp throw ex; } + @Override public void throwCasA(int a, int b, int c, Ice.Current current) throws A @@ -92,6 +100,7 @@ public final class ThrowerI extends _ThrowerDisp throwCasC(a, b, c, current); } + @Override public void throwCasB(int a, int b, int c, Ice.Current current) throws B @@ -99,6 +108,7 @@ public final class ThrowerI extends _ThrowerDisp throwCasC(a, b, c, current); } + @Override public void throwCasC(int a, int b, int c, Ice.Current current) throws C @@ -110,6 +120,7 @@ public final class ThrowerI extends _ThrowerDisp throw ex; } + @Override public void throwUndeclaredA(int a, Ice.Current current) { @@ -117,6 +128,7 @@ public final class ThrowerI extends _ThrowerDisp throw new Ice.UnknownUserException(); } + @Override public void throwUndeclaredB(int a, int b, Ice.Current current) { @@ -124,6 +136,7 @@ public final class ThrowerI extends _ThrowerDisp throw new Ice.UnknownUserException(); } + @Override public void throwUndeclaredC(int a, int b, int c, Ice.Current current) { @@ -131,36 +144,42 @@ public final class ThrowerI extends _ThrowerDisp throw new Ice.UnknownUserException(); } + @Override public void throwLocalException(Ice.Current current) { throw new Ice.TimeoutException(); } + @Override public void throwLocalExceptionIdempotent(Ice.Current current) { throw new Ice.TimeoutException(); } + @Override public void throwNonIceException(Ice.Current current) { throw new RuntimeException(); } + @Override public void throwAssertException(Ice.Current current) { throw new java.lang.AssertionError(); } + @Override public byte[] throwMemoryLimitException(byte[] seq, Ice.Current current) { return new byte[1024 * 20]; // 20KB is over the configured 10KB message size max. } + @Override public void throwAfterResponse(Ice.Current current) { @@ -169,6 +188,7 @@ public final class ThrowerI extends _ThrowerDisp // } + @Override public void throwAfterException(Ice.Current current) throws A |