Details
Description
ToString method is implemented instead of getMessage in org.codehaus.groovy.control.MultipleCompilationErrorsException class. This breaks the contract of Throwable super class causing silly messages to be printed, when the exception is thrown.
I get this message in my progam:
...
Caused by: java.lang.RuntimeException: startup failed
...
I changed the implementation which improves the message:
...
Caused by: java.lang.RuntimeException: startup failed, groovy.script: 1: unexpected token: > @ line 1, column 24.
1 Error
...
Activity
blackdrag blackdrag
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | james strachan [ jstrachan ] | Jochen Theodorou [ blackdrag ] |
Guillaume Laforge
made changes -
| Assignee | Jochen Theodorou [ blackdrag ] | Guillaume Laforge [ guillaume ] |
blackdrag blackdrag
made changes -
| Fix Version/s | 1.0-JSR-5 [ 12102 ] | |
| Resolution | Fixed [ 1 ] | |
| Status | Open [ 1 ] | Closed [ 6 ] |
| Assignee | Guillaume Laforge [ guillaume ] | Jochen Theodorou [ blackdrag ] |
added to cvs, thx for the patch