You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Nicklas Karlsson (Commented) (JIRA)" <ji...@apache.org> on 2012/03/28 07:18:26 UTC

[jira] [Commented] (DELTASPIKE-132) Discuss the concept of the exception chain / stack

    [ https://issues.apache.org/jira/browse/DELTASPIKE-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13240182#comment-13240182 ] 

Nicklas Karlsson commented on DELTASPIKE-132:
---------------------------------------------

Should this be configurable in a way that it would be possible to get the full exception? Also related, would it make sense to have a customizable "StacktraceUnwrapper"?

Would it make sence on a general level for the exception handling to have some sort of ExceptionHandlerConfig where all the customizing classes could be overridden (in the same way as the CODI Messaging module appears to do)?
                
> Discuss the concept of the exception chain / stack
> --------------------------------------------------
>
>                 Key: DELTASPIKE-132
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-132
>             Project: DeltaSpike
>          Issue Type: Sub-task
>          Components: ExceptionHandler-Module
>            Reporter: Jason Porter
>            Assignee: Gerhard Petracek
>             Fix For: 0.2-incubating
>
>
> Exceptions in Java are often a chain of exceptions, or a stack of exceptions.
> A problem of many Java developers, especially newer developers is finding the actual root cause of an exception. The Exception Handling module should take this guess work out when it finds exception handlers and first look for a handler for the root cause. The exception stack should be completely unwrapped before looking for a handler.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira