diff options
Diffstat (limited to 'java/src/Ice/_ObjectDelM.java')
-rw-r--r-- | java/src/Ice/_ObjectDelM.java | 52 |
1 files changed, 32 insertions, 20 deletions
diff --git a/java/src/Ice/_ObjectDelM.java b/java/src/Ice/_ObjectDelM.java index d9502f54ebd..c6301ce909d 100644 --- a/java/src/Ice/_ObjectDelM.java +++ b/java/src/Ice/_ObjectDelM.java @@ -34,14 +34,17 @@ public class _ObjectDelM implements _ObjectDel IceInternal.BasicStream __is = __og.is(); if(!__ok) { - __is.throwException(); + try + { + __is.throwException(); + } + catch(UserException __ex) + { + throw new UnknownUserException(__ex.ice_name()); + } } return __is.readBool(); } - catch(UserException __ex) - { - throw new UnknownUserException(__ex.ice_name()); - } catch(LocalException __ex) { throw new IceInternal.NonRepeatable(__ex); @@ -67,13 +70,16 @@ public class _ObjectDelM implements _ObjectDel IceInternal.BasicStream __is = __og.is(); if(!__ok) { - __is.throwException(); + try + { + __is.throwException(); + } + catch(UserException __ex) + { + throw new UnknownUserException(__ex.ice_name()); + } } } - catch(UserException __ex) - { - throw new UnknownUserException(__ex.ice_name()); - } catch(LocalException __ex) { throw new IceInternal.NonRepeatable(__ex); @@ -99,14 +105,17 @@ public class _ObjectDelM implements _ObjectDel IceInternal.BasicStream __is = __og.is(); if(!__ok) { - __is.throwException(); + try + { + __is.throwException(); + } + catch(UserException __ex) + { + throw new UnknownUserException(__ex.ice_name()); + } } return __is.readStringSeq(); } - catch(UserException __ex) - { - throw new UnknownUserException(__ex.ice_name()); - } catch(LocalException __ex) { throw new IceInternal.NonRepeatable(__ex); @@ -132,14 +141,17 @@ public class _ObjectDelM implements _ObjectDel IceInternal.BasicStream __is = __og.is(); if(!__ok) { - __is.throwException(); + try + { + __is.throwException(); + } + catch(UserException __ex) + { + throw new UnknownUserException(__ex.ice_name()); + } } return __is.readString(); } - catch(UserException __ex) - { - throw new UnknownUserException(__ex.ice_name()); - } catch(LocalException __ex) { throw new IceInternal.NonRepeatable(__ex); |