diff options
Diffstat (limited to 'javae/src/IceInternal/LocalExceptionWrapper.java')
-rw-r--r-- | javae/src/IceInternal/LocalExceptionWrapper.java | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/javae/src/IceInternal/LocalExceptionWrapper.java b/javae/src/IceInternal/LocalExceptionWrapper.java deleted file mode 100644 index 90ca5cb8ed5..00000000000 --- a/javae/src/IceInternal/LocalExceptionWrapper.java +++ /dev/null @@ -1,49 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice-E is licensed to you under the terms described in the -// ICEE_LICENSE file included in this distribution. -// -// ********************************************************************** - -package IceInternal; - -public class LocalExceptionWrapper extends Exception -{ - public - LocalExceptionWrapper(Ice.LocalException ex, boolean retry) - { - _ex = ex; - _retry = retry; - } - - public - LocalExceptionWrapper(IceInternal.LocalExceptionWrapper ex) - { - _ex = ex.get(); - _retry = ex._retry; - } - - public Ice.LocalException - get() - { - return _ex; - } - - // - // If true, always repeat the request. Don't take retry settings - // or "at-most-once" guarantees into account. - // - // If false, only repeat the request if the retry settings allow - // to do so, and if "at-most-once" does not need to be guaranteed. - // - public boolean - retry() - { - return _retry; - } - - private Ice.LocalException _ex; - private boolean _retry; -} |