diff options
author | Joachim Lingner <jl@openoffice.org> | 2002-07-17 09:54:11 +0000 |
---|---|---|
committer | Joachim Lingner <jl@openoffice.org> | 2002-07-17 09:54:11 +0000 |
commit | 4330254e02e7ff7ae6fd15fd51a1cf9a069dc79b (patch) | |
tree | f0f0d2f6c002216053e62f184751b944835d335a /jurt/com | |
parent | 571b2246dc350e2e781ea49d99de47ec9456633b (diff) |
#101419# disposed exception occurred when closing basic IDE, a stack trace was printed also in non - debug
Diffstat (limited to 'jurt/com')
-rw-r--r-- | jurt/com/sun/star/lib/uno/environments/remote/Job.java | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/jurt/com/sun/star/lib/uno/environments/remote/Job.java b/jurt/com/sun/star/lib/uno/environments/remote/Job.java index 42b987c34ef3..9fe0de55efb7 100644 --- a/jurt/com/sun/star/lib/uno/environments/remote/Job.java +++ b/jurt/com/sun/star/lib/uno/environments/remote/Job.java @@ -2,9 +2,9 @@ * * $RCSfile: Job.java,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: jbu $ $Date: 2002-06-25 07:16:52 $ + * last change: $Author: jl $ $Date: 2002-07-17 10:54:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -81,7 +81,7 @@ import com.sun.star.uno.UnoRuntime; * The Job is an abstraction for tasks which have to be done * remotely because of a method invocation. * <p> - * @version $Revision: 1.10 $ $ $Date: 2002-06-25 07:16:52 $ + * @version $Revision: 1.11 $ $ $Date: 2002-07-17 10:54:11 $ * @author Kay Ramme * @see com.sun.star.lib.uno.environments.remote.ThreadID * @see com.sun.star.lib.uno.environments.remote.IReceiver @@ -184,8 +184,10 @@ public class Job { if(exception instanceof InvocationTargetException) throwable = ((InvocationTargetException)exception).getTargetException();; - if(DEBUG); System.err.println("##### Job.execute - exception occured:" + throwable); - throwable.printStackTrace(); + if(DEBUG) { + System.err.println("##### Job.execute - exception occured:" + throwable); + throwable.printStackTrace(); + } // Here we have to be aware of non UNO exceptions, cause they may kill // a remote side (which does not know anything about theire types) if(!(throwable instanceof com.sun.star.uno.Exception) |