[seam-issues] [JBoss JIRA] Commented: (SEAMCATCH-4) Include the ability to filter stack traces

Jason Porter (JIRA) jira-events at lists.jboss.org
Sun Jan 9 00:54:49 EST 2011


    [ https://issues.jboss.org/browse/SEAMCATCH-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574256#comment-12574256 ] 

Jason Porter commented on SEAMCATCH-4:
--------------------------------------

I may be able to use the ExceptionStack object, but it has some odd things going on because it's mutable.  I still may be able to use it, but I need another object that will contain the corrected stack trace and indexes where the exception is wrapped and re-thrown.

I should be able to find those indexes with either their size minus two (which seems to be right, but more testing is needed) or I can iterate through both traces (the current exception and the next wrapped) and find out where they're equal, once I have that I'll know the stack index where they diverge slightly for the wrap.

> Include the ability to filter stack traces
> ------------------------------------------
>
>                 Key: SEAMCATCH-4
>                 URL: https://issues.jboss.org/browse/SEAMCATCH-4
>             Project: Seam Catch
>          Issue Type: Feature Request
>            Reporter: Jason Porter
>            Assignee: Jason Porter
>             Fix For: 3.0.0.Alpha4
>
>
> Catch should draw from ideas such as:
> - http://www.docjar.org/html/api/org/apache/commons/lang/exception/NestableDelegate.java.html
> - http://stackoverflow.com/questions/2504647/bash-how-to-filter-java-exception-info
> - http://squirrelsewer.blogspot.com/2010/03/filter-your-stack-traces.html
> - http://pastebin.com/p8aCSeuu

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list