diff options
author | Sven Gothel <[email protected]> | 2014-10-08 08:40:18 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-10-08 08:40:18 +0200 |
commit | 940b5716ff5e27bffda5e6a6ea4aaa98a7988556 (patch) | |
tree | e87e6e6180e074e46ffe7b4a8ddcd3a78b4a9586 /src/jogl/classes/javax/media | |
parent | 1fcfd014ca90125ab53ebc4e96e133535a55f095 (diff) |
GLException.dumpThrowable(..) -> GlueGen's ExceptionUtils.dumpThrowable(..)
Diffstat (limited to 'src/jogl/classes/javax/media')
-rw-r--r-- | src/jogl/classes/javax/media/opengl/GLException.java | 10 |
1 files changed, 1 insertions, 9 deletions
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(); - } } |