Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

All snippets
Create a snippet
Full search

Quick search:

Editing Snippet ID: #1002288
Snippet name:
Category, Type:
static <A extends Throwable> A printStackTrace(A e) { // we go to system.out now - system.err is nonsense print(getStackTrace(e)); ret e; } static void printStackTrace() { printStackTrace(new Throwable()); } static void printStackTrace(S msg) { printStackTrace(new Throwable(msg)); } static void printStackTrace(S msg, Throwable e) { printStackTrace(new Throwable(msg, e)); }
Public (visible to everyone):
Created: 2016-01-02 20:31:42

This page without fancy editor.