You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Jason Porter (Created) (JIRA)" <ji...@apache.org> on 2012/03/27 03:13:25 UTC

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

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


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

        

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

Posted by "Jason Porter (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DELTASPIKE-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13240198#comment-13240198 ] 

Jason Porter commented on DELTASPIKE-132:
-----------------------------------------

I believe as it currently stands in Seam Catch (Solder) all of these cases are handled. You can get a hold of the ExceptionStack via an event before it's processed and make any changes you desire.
                
> 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

        

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

Posted by "Jason Porter (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DELTASPIKE-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13266162#comment-13266162 ] 

Jason Porter commented on DELTASPIKE-132:
-----------------------------------------

Are there other concepts people would like to see from Catch in this idea of an exception chain / stack that aren't there?
                
> 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: ExceptionControl-Module
>            Reporter: Jason Porter
>            Assignee: Jason Porter
>             Fix For: 0.3-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

        

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

Posted by "Nicklas Karlsson (Commented) (JIRA)" <ji...@apache.org>.
    [ 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

        

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

Posted by "Gerhard Petracek (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DELTASPIKE-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerhard Petracek updated DELTASPIKE-132:
----------------------------------------

    Fix Version/s:     (was: 0.2-incubating)
                   0.3-incubating
         Assignee: Jason Porter  (was: Gerhard Petracek)
    
> 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: ExceptionControl-Module
>            Reporter: Jason Porter
>            Assignee: Jason Porter
>             Fix For: 0.3-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