You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Mauro Molinari (JIRA)" <ji...@apache.org> on 2015/08/21 11:44:46 UTC

[jira] [Created] (GROOVY-7554) Add method to get printed stack trace in Throwable

Mauro Molinari created GROOVY-7554:
--------------------------------------

             Summary: Add method to get printed stack trace in Throwable
                 Key: GROOVY-7554
                 URL: https://issues.apache.org/jira/browse/GROOVY-7554
             Project: Groovy
          Issue Type: Improvement
          Components: groovy-jdk
    Affects Versions: 2.4.4
            Reporter: Mauro Molinari
            Assignee: Guillaume Laforge
            Priority: Minor


It would be very handy if Groovy JDK provided a method in {{Throwable}} to get the printed stack trace as a string.
This would save the user to call the default {{printStackTrace(PrintWriter)}} method with a {{StringWriter}} and retrieve the result from there.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)