Subversion Repository Public Repository

litesoft

1
2
3
4
5
6
7
8
9
10
11
12
13
package org.litesoft.core.typeutils;

import org.litesoft.core.util.*;

public class Throwables
{
    public static String printStackTraceToString( Throwable pThrowable )
    {
        ExceptionStackTracePrintStream ps = new ExceptionStackTracePrintStream();
        pThrowable.printStackTrace( ps );
        return ps.toString();
    }
}

Commits for litesoft/trunk/Java/core/Anywhere/src/org/litesoft/core/typeutils/Throwables.java

Diff revisions: vs.
Revision Author Commited Message
822 GeorgeS picture GeorgeS Sun 19 Aug, 2012 01:03:51 +0000