From 940b5716ff5e27bffda5e6a6ea4aaa98a7988556 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 8 Oct 2014 08:40:18 +0200 Subject: GLException.dumpThrowable(..) -> GlueGen's ExceptionUtils.dumpThrowable(..) --- src/jogl/classes/javax/media/opengl/GLException.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/jogl/classes/javax/media/opengl') diff --git a/src/jogl/classes/javax/media/opengl/GLException.java b/src/jogl/classes/javax/media/opengl/GLException.java index 3f76a6299..acf7cdec0 100644 --- a/src/jogl/classes/javax/media/opengl/GLException.java +++ b/src/jogl/classes/javax/media/opengl/GLException.java @@ -1,5 +1,6 @@ /* * Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved. + * Copyright (c) 2014 JogAmp Community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -74,13 +75,4 @@ public class GLException extends RuntimeException { public static GLException newGLException(final Throwable t) { return new GLException("Caught "+t.getClass().getSimpleName()+": "+t.getMessage()+" on thread "+Thread.currentThread().getName(), t); } - - /** - * Dumps a Throwable in a decorating message including the current thread name, and stack trace. - * @since 2.2 - */ - public static void dumpThrowable(final String additionalDescr, final Throwable t) { - System.err.println("Caught "+additionalDescr+" "+t.getClass().getSimpleName()+": "+t.getMessage()+" on thread "+Thread.currentThread().getName()); - t.printStackTrace(); - } } -- cgit v1.2.3