00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 package cast.examples.autogen;
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 public final class _WordServerDelM extends Ice._ObjectDelM implements _WordServerDel
00024 {
00025 public String
00026 getNewWord(java.util.Map<String, String> __ctx)
00027 throws IceInternal.LocalExceptionWrapper
00028 {
00029 IceInternal.Outgoing __og = __handler.getOutgoing("getNewWord", Ice.OperationMode.Normal, __ctx);
00030 try
00031 {
00032 boolean __ok = __og.invoke();
00033 try
00034 {
00035 if(!__ok)
00036 {
00037 try
00038 {
00039 __og.throwUserException();
00040 }
00041 catch(Ice.UserException __ex)
00042 {
00043 throw new Ice.UnknownUserException(__ex.ice_name());
00044 }
00045 }
00046 IceInternal.BasicStream __is = __og.is();
00047 __is.startReadEncaps();
00048 String __ret;
00049 __ret = __is.readString();
00050 __is.endReadEncaps();
00051 return __ret;
00052 }
00053 catch(Ice.LocalException __ex)
00054 {
00055 throw new IceInternal.LocalExceptionWrapper(__ex, false);
00056 }
00057 }
00058 finally
00059 {
00060 __handler.reclaimOutgoing(__og);
00061 }
00062 }
00063 }