From 512b1a0a00480936f7ff3ba33698f8e77c3e345d Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Tue, 21 Mar 2006 00:18:51 +0000 Subject: [PATCH] Now calling toString on exceptions when constructing RunnerException. --- app/Sizer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Sizer.java b/app/Sizer.java index 9d5da96c4..68efdab59 100644 --- a/app/Sizer.java +++ b/app/Sizer.java @@ -63,7 +63,7 @@ public class Sizer implements MessageConsumer { } catch (InterruptedException intExc) { } } } catch (Exception e) { - exception = new RunnerException(e); + exception = new RunnerException(e.toString()); } if (exception != null) @@ -86,9 +86,9 @@ public class Sizer implements MessageConsumer { st.nextToken(); size = (new Integer(st.nextToken().trim())).longValue(); } catch (NoSuchElementException e) { - exception = new RunnerException(e); + exception = new RunnerException(e.toString()); } catch (NumberFormatException e) { - exception = new RunnerException(e); + exception = new RunnerException(e.toString()); } } }