[
http://jira.codehaus.org/browse/JIBX-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Sosnoski resolved JIBX-233.
----------------------------------
Resolution: Fixed
Fix Version/s: JiBX 1.2.1
> Partial stack trace is printed when JiBXException is wrapped in another
> exception
> ---------------------------------------------------------------------------------
>
> Key: JIBX-233
> URL: http://jira.codehaus.org/browse/JIBX-233
> Project: JiBX
> Issue Type: Improvement
> Components: core
> Affects Versions: JiBX 1.1.6
> Reporter: Vladimir Berezniker
> Assignee: Dennis Sosnoski
> Priority: Minor
> Fix For: JiBX 1.2.1
>
>
> JiBXException has its own mechanism for dealing with nested exceptions.
> However, when running in JDK 5 and if outer most exception class is not
> JiBXException (e.g. org.apache.maven.plugin.MojoExecutionException) only
> partial stack trace is printed. This impedes investigations of bad binding
> files as in many cases root cause exception is not printed.
> This is due to printStackTraceAsCause method implementation in Throwable
> class.
> One way to fix is to implement getCause() method as following:
> public Throwable getCause()
> {
> return getRootCause();
> }
>
> this way printStackTraceAsCause will honour the root cause that JiBXException
> contains.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs