Back to project page ItsTwitterTime.
The source code is released under:
Copyright (c) 2014, Saghm Rossi All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * ...
If you think the Android project ItsTwitterTime listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package me.saghm.itstwittertime; //from w ww.j a v a2s . co m import java.io.PrintWriter; import java.io.StringWriter; /** * Created by saghm on 9/20/14. */ public class ExceptionParser { public static String parse(Exception e) { StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw); e.printStackTrace(pw); return sw.toString(); } }