/[classpath]/classpath/gnu/java/rmi/server/UnicastServerRef.java
ViewVC logotype

Diff of /classpath/gnu/java/rmi/server/UnicastServerRef.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by mkoch, Sun Mar 21 10:10:14 2004 UTC revision 1.10 by jfrijters, Mon Sep 20 12:07:05 2004 UTC
# Line 284  public Object incomingMessageCall(Unicas Line 284  public Object incomingMessageCall(Unicas
284                  try{                  try{
285                      ret = meth.invoke(myself, args);                      ret = meth.invoke(myself, args);
286                  }catch(InvocationTargetException e){                  }catch(InvocationTargetException e){
287                      throw (Exception)(e.getTargetException());                      Throwable cause = e.getTargetException();
288                        if (cause instanceof Exception) {
289                            throw (Exception)cause;
290                        }
291                        else if (cause instanceof Error) {
292                            throw (Error)cause;
293                        }
294                        else {
295                            throw new Error("The remote method threw a java.lang.Throwable that is neither java.lang.Exception nor java.lang.Error.", e);
296                        }
297                  }                  }
298                  return ret;                  return ret;
299          }          }

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26