com.iodesystems.fn.aspects.Exceptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fn Show documentation
Show all versions of fn Show documentation
Fn is a lazy Java Library that helps utilize some rudimentary functional concepts with more nounular
objects
package com.iodesystems.fn.aspects;
import java.io.PrintWriter;
import java.io.StringWriter;
public class Exceptions {
public static String stackString(Throwable e) {
StringWriter stackString = new StringWriter();
e.printStackTrace(new PrintWriter(stackString));
return stackString.toString();
}
}