-
If an exception occurs, it should bubble up to the caller, instead of eating it and generating an errorsome document.
Currently the caller has no way to be aware if jxl did it job correctly.
If the exception bubble up (preferable a RuntimeException), the Thread.exceptionhandler of the caller can handle it appropriatly (log it, mail it, ...).
Here's the full stacktrace that gets printed (but...
2009-10-28 13:40:07 UTC in jXLS
-
ge0ffrey committed revision 2244 to the Spring Rich Client SVN repository, changing 1 files.
2009-10-22 13:23:49 UTC in Spring Rich Client
-
ge0ffrey committed revision 2243 to the Spring Rich Client SVN repository, changing 1 files.
2009-10-22 12:31:26 UTC in Spring Rich Client
-
ge0ffrey committed revision 2242 to the Spring Rich Client SVN repository, changing 1 files.
2009-10-22 07:55:32 UTC in Spring Rich Client
-
ge0ffrey committed revision 2241 to the Spring Rich Client SVN repository, changing 1 files.
2009-10-21 12:21:01 UTC in Spring Rich Client
-
see AbstractEntityRegistrationManager:
} catch (RuntimeException e) {
throw new EntitiesRegistrationException(e.getMessage());
should be:
} catch (RuntimeException e) {
throw new EntitiesRegistrationException(e.getMessage(), e);
But even better: don't catch it all! RuntimeExceptions should not be caught if you can't perfectly handle them. Just let them bubble up the stack...
2009-10-19 14:57:27 UTC in DynamicJasper
-
Caused by issue 2747641 .
In DJ 3.0.10, I 've got:
dynamicReportBuilder.setTemplateFile("be/ggg/myJrxml.jrxml");
And myJrxml.jrxml has these lines:
getClass().getResource("/be/ggg/myStyles.jrtx")
...
.....
2009-10-19 13:47:56 UTC in DynamicJasper
-
ge0ffrey committed revision 2238 to the Spring Rich Client SVN repository, changing 1 files.
2009-09-18 07:49:57 UTC in Spring Rich Client
-
ge0ffrey committed revision 2237 to the Spring Rich Client SVN repository, changing 1 files.
2009-09-18 07:44:32 UTC in Spring Rich Client
-
ge0ffrey committed revision 2236 to the Spring Rich Client SVN repository, changing 1 files.
2009-09-16 08:02:04 UTC in Spring Rich Client