diff options
author | Benoit Foucher <benoit@zeroc.com> | 2009-12-02 20:58:58 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2009-12-02 20:58:58 +0100 |
commit | 7da7bd6dfa7cf1d89afaab1e3e293891d881136b (patch) | |
tree | 4fa39d4784e31f440c147182c798ccda7534ae3a /java/src/Ice/ExceptionCallback.java | |
parent | Make loading of IceSSL when using unique names easier (diff) | |
download | ice-7da7bd6dfa7cf1d89afaab1e3e293891d881136b.tar.bz2 ice-7da7bd6dfa7cf1d89afaab1e3e293891d881136b.tar.xz ice-7da7bd6dfa7cf1d89afaab1e3e293891d881136b.zip |
More AMI mapping improvements
Diffstat (limited to 'java/src/Ice/ExceptionCallback.java')
-rw-r--r-- | java/src/Ice/ExceptionCallback.java | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/java/src/Ice/ExceptionCallback.java b/java/src/Ice/ExceptionCallback.java deleted file mode 100644 index b213f639938..00000000000 --- a/java/src/Ice/ExceptionCallback.java +++ /dev/null @@ -1,50 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -package Ice; - -/** - * An application can optionally supply an instance of this class in an - * asynchronous invocation. The application must create a subclass and - * implement the exception method. - **/ -public abstract class ExceptionCallback extends Callback -{ - /** - * Called when the invocation raises an Ice run-time exception. - * - * @param __ex The Ice run-time exception raised by the operation. - **/ - public abstract void exception(LocalException __ex); - - /** - * Called when a queued invocation is sent successfully. - **/ - public void sent(boolean sentSynchronously) - { - } - - public final void __completed(AsyncResult __result) - { - try - { - __result.__wait(); - } - catch(LocalException __ex) - { - exception(__ex); - return; - } - } - - public final void __sent(AsyncResult __result) - { - sent(__result.sentSynchronously()); - } -} |