projects
/
cfb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Partial implementation of XML parse for FindBugs output
[cfb.git]
/
prod
/
net
/
jaekl
/
cfb
/
util
/
Util.java
1
package net.jaekl.cfb.util;
2
3
import java.io.PrintWriter;
4
import java.io.StringWriter;
5
6
public class Util {
7
public static String stringify(Throwable thr) {
8
StringWriter sw = new StringWriter();
9
PrintWriter pw = new PrintWriter(sw);
10
thr.printStackTrace(pw);
11
return sw.toString();
12
}
13
}