Takuya,

Thanks for the suggestion. Your suggested code is much, much better. I've
changed the implementation of the method.

Note that I also changed the method signature. From what I can tell, there
is only one other reference to this method so far, which I also changed. If
anyone else is using this method please change your code.

thanks, aaron

At 10:57 AM 5/12/2005, Philip Johnson wrote:
    public String convertStackTraceToString(Throwable t){
        StringWriter stringWriter = new StringWriter();
        t.printStackTrace(new PrintWriter(stringWriter));
        return stringWriter.toString();
    }

Very nice, Takuya!

Philip

Reply via email to