diff options
author | Sven Gothel <[email protected]> | 2014-06-28 16:07:36 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-06-28 16:07:36 +0200 |
commit | 43c85971bba8a188b8888f68133ad4ecc97131fd (patch) | |
tree | 317d687fb9d538359c6b302e7bdfc91cc782cb50 /src | |
parent | f91dad1a0898959fb379f0f5a2081fe0fbb50f9d (diff) |
Fix 'typo' in messages: 'Catched' -> 'Caught'
Diffstat (limited to 'src')
32 files changed, 52 insertions, 52 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/util/Animator.java b/src/jogl/classes/com/jogamp/opengl/util/Animator.java index 799069292..31938612a 100644 --- a/src/jogl/classes/com/jogamp/opengl/util/Animator.java +++ b/src/jogl/classes/com/jogamp/opengl/util/Animator.java @@ -194,7 +194,7 @@ public class Animator extends AnimatorBase { } } catch( ThreadDeath td) { if(DEBUG) { - System.err.println("Animator Catched: "+td.getClass().getName()+": "+td.getMessage()); + System.err.println("Animator caught: "+td.getClass().getName()+": "+td.getMessage()); td.printStackTrace(); } } finally { diff --git a/src/jogl/classes/com/jogamp/opengl/util/av/AudioSinkFactory.java b/src/jogl/classes/com/jogamp/opengl/util/av/AudioSinkFactory.java index 2cfd40df7..386b1e085 100644 --- a/src/jogl/classes/com/jogamp/opengl/util/av/AudioSinkFactory.java +++ b/src/jogl/classes/com/jogamp/opengl/util/av/AudioSinkFactory.java @@ -59,7 +59,7 @@ public class AudioSinkFactory { return audioSink; } } catch (Throwable t) { - if(AudioSink.DEBUG) { System.err.println("Catched "+t.getClass().getName()+": "+t.getMessage()); t.printStackTrace(); } + if(AudioSink.DEBUG) { System.err.println("Caught "+t.getClass().getName()+": "+t.getMessage()); t.printStackTrace(); } } } return null; diff --git a/src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayerFactory.java b/src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayerFactory.java index 248e265f5..558d59630 100644 --- a/src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayerFactory.java +++ b/src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayerFactory.java @@ -60,7 +60,7 @@ public class GLMediaPlayerFactory { if(((Boolean)ReflectionUtil.callStaticMethod(implName, isAvailableMethodName, null, null, cl)).booleanValue()) { return (GLMediaPlayer) ReflectionUtil.createInstance(implName, cl); } - } catch (Throwable t) { if(GLMediaPlayer.DEBUG) { System.err.println("Catched "+t.getClass().getName()+": "+t.getMessage()); t.printStackTrace(); } } + } catch (Throwable t) { if(GLMediaPlayer.DEBUG) { System.err.println("Caught "+t.getClass().getName()+": "+t.getMessage()); t.printStackTrace(); } } return null; } } diff --git a/src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderUtil.java b/src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderUtil.java index 5cd384c58..ad5331a28 100644 --- a/src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderUtil.java +++ b/src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderUtil.java @@ -173,7 +173,7 @@ public class ShaderUtil { } } } catch (GLException gle) { - System.err.println("Catched Exception on thread "+Thread.currentThread().getName()); + System.err.println("Caught exception on thread "+Thread.currentThread().getName()); gle.printStackTrace(); } } @@ -203,7 +203,7 @@ public class ShaderUtil { info.shaderCompilerAvailable = new Boolean(v); queryOK = true; } catch (GLException gle) { - System.err.println("Catched Exception on thread "+Thread.currentThread().getName()); + System.err.println("Caught exception on thread "+Thread.currentThread().getName()); gle.printStackTrace(); } if(!queryOK) { diff --git a/src/jogl/classes/javax/media/opengl/GLDrawableFactory.java b/src/jogl/classes/javax/media/opengl/GLDrawableFactory.java index 9b823a6f8..077daf6e9 100644 --- a/src/jogl/classes/javax/media/opengl/GLDrawableFactory.java +++ b/src/jogl/classes/javax/media/opengl/GLDrawableFactory.java @@ -222,7 +222,7 @@ public abstract class GLDrawableFactory { gldf.resetDisplayGamma(); gldf.shutdownImpl(); } catch (Throwable t) { - System.err.println("GLDrawableFactory.shutdownImpl: Catched "+t.getClass().getName()+" during factory shutdown #"+(i+1)+"/"+gldfCount+" "+gldf.getClass().getName()); + System.err.println("GLDrawableFactory.shutdownImpl: Caught "+t.getClass().getName()+" during factory shutdown #"+(i+1)+"/"+gldfCount+" "+gldf.getClass().getName()); if( DEBUG ) { t.printStackTrace(); } diff --git a/src/jogl/classes/javax/media/opengl/GLProfile.java b/src/jogl/classes/javax/media/opengl/GLProfile.java index 3d1925214..addc977d8 100644 --- a/src/jogl/classes/javax/media/opengl/GLProfile.java +++ b/src/jogl/classes/javax/media/opengl/GLProfile.java @@ -1568,7 +1568,7 @@ public class GLProfile { return ReflectionUtil.getConstructor(clazzName, glObject ? ctorGLArgs : ctorProcArgs, false, cl); } catch (Throwable t) { if( DEBUG ) { - System.err.println("Catched: "+t.getMessage()); + System.err.println("Caught: "+t.getMessage()); t.printStackTrace(); } return null; diff --git a/src/jogl/classes/javax/media/opengl/awt/GLCanvas.java b/src/jogl/classes/javax/media/opengl/awt/GLCanvas.java index 9086d1a78..e3a7838e7 100644 --- a/src/jogl/classes/javax/media/opengl/awt/GLCanvas.java +++ b/src/jogl/classes/javax/media/opengl/awt/GLCanvas.java @@ -995,7 +995,7 @@ public class GLCanvas extends Canvas implements AWTGLAutoDrawable, WindowClosing } } } catch (NoninvertibleTransformException nte) { - System.err.println("Catched: Inversion failed of: "+g2d.getTransform()); + System.err.println("Caught: Inversion failed of: "+g2d.getTransform()); nte.printStackTrace(); } if( DEBUG ) { diff --git a/src/jogl/classes/javax/media/opengl/awt/GLJPanel.java b/src/jogl/classes/javax/media/opengl/awt/GLJPanel.java index 1cf0348ba..558970df6 100644 --- a/src/jogl/classes/javax/media/opengl/awt/GLJPanel.java +++ b/src/jogl/classes/javax/media/opengl/awt/GLJPanel.java @@ -838,7 +838,7 @@ public class GLJPanel extends JPanel implements AWTGLAutoDrawable, WindowClosing } } } catch (NoninvertibleTransformException nte) { - System.err.println("Catched: Inversion failed of: "+g2d.getTransform()); + System.err.println("Caught: Inversion failed of: "+g2d.getTransform()); nte.printStackTrace(); } if( DEBUG ) { diff --git a/src/jogl/classes/jogamp/opengl/GLContextImpl.java b/src/jogl/classes/jogamp/opengl/GLContextImpl.java index c815556ff..b88bdcdae 100644 --- a/src/jogl/classes/jogamp/opengl/GLContextImpl.java +++ b/src/jogl/classes/jogamp/opengl/GLContextImpl.java @@ -1158,7 +1158,7 @@ public abstract class GLContextImpl extends GLContext { finalizeInit = ReflectionUtil.getMethod(gl.getClass(), "finalizeInit", new Class<?>[]{ }); } catch ( Throwable t ) { if(DEBUG) { - System.err.println("Catched "+t.getClass().getName()+": "+t.getMessage()); + System.err.println("Caught "+t.getClass().getName()+": "+t.getMessage()); t.printStackTrace(); } } diff --git a/src/jogl/classes/jogamp/opengl/GLDrawableFactoryImpl.java b/src/jogl/classes/jogamp/opengl/GLDrawableFactoryImpl.java index 2dbd6dee3..a401944ef 100644 --- a/src/jogl/classes/jogamp/opengl/GLDrawableFactoryImpl.java +++ b/src/jogl/classes/jogamp/opengl/GLDrawableFactoryImpl.java @@ -97,7 +97,7 @@ public abstract class GLDrawableFactoryImpl extends GLDrawableFactory { } } catch (GLException gle) { if(DEBUG) { - System.err.println("Catched Exception on thread "+getThreadName()); + System.err.println("Caught exception on thread "+getThreadName()); gle.printStackTrace(); } } diff --git a/src/jogl/classes/jogamp/opengl/GLDrawableHelper.java b/src/jogl/classes/jogamp/opengl/GLDrawableHelper.java index c0603383a..bf791822f 100644 --- a/src/jogl/classes/jogamp/opengl/GLDrawableHelper.java +++ b/src/jogl/classes/jogamp/opengl/GLDrawableHelper.java @@ -1045,7 +1045,7 @@ public class GLDrawableHelper { } flushGLRunnables(); } catch (Exception e) { - System.err.println("Catched Exception on thread "+getThreadName()); + System.err.println("Caught exception on thread "+getThreadName()); e.printStackTrace(); } if (lastContext != null) { @@ -1131,7 +1131,7 @@ public class GLDrawableHelper { try { context.release(); } catch (Exception e) { - System.err.println("Catched Exception on thread "+getThreadName()); + System.err.println("Caught exception on thread "+getThreadName()); e.printStackTrace(); } } @@ -1237,7 +1237,7 @@ public class GLDrawableHelper { context.release(); ctxReleased = true; } catch (Exception e) { - System.err.println("Catched Exception on thread "+getThreadName()); + System.err.println("Caught exception on thread "+getThreadName()); e.printStackTrace(); } } diff --git a/src/jogl/classes/jogamp/opengl/SharedResourceRunner.java b/src/jogl/classes/jogamp/opengl/SharedResourceRunner.java index 283ecdb9d..1688d1044 100644 --- a/src/jogl/classes/jogamp/opengl/SharedResourceRunner.java +++ b/src/jogl/classes/jogamp/opengl/SharedResourceRunner.java @@ -343,7 +343,7 @@ public class SharedResourceRunner implements Runnable { try { impl.releaseSharedResource(iter.next()); } catch (Throwable t) { - System.err.println("Catched Exception on thread "+getThreadName()); + System.err.println("Caught exception on thread "+getThreadName()); t.printStackTrace(); } } diff --git a/src/jogl/classes/jogamp/opengl/awt/Java2D.java b/src/jogl/classes/jogamp/opengl/awt/Java2D.java index 886cd9368..5735b875e 100644 --- a/src/jogl/classes/jogamp/opengl/awt/Java2D.java +++ b/src/jogl/classes/jogamp/opengl/awt/Java2D.java @@ -121,7 +121,7 @@ public class Java2D { if (DEBUG) { System.err.println("Checking for Java2D/OpenGL support"); } - Throwable catched = null; + Throwable caught = null; try { isHeadless = true; // Figure out whether the default graphics configuration is an @@ -269,7 +269,7 @@ public class Java2D { } } } catch (Exception e) { - catched = e; + caught = e; if (DEBUG) { System.err.println("Info: Disabling Java2D/JOGL integration"); } @@ -281,12 +281,12 @@ public class Java2D { // The AWT is running in headless mode, so the Java 2D / JOGL bridge is clearly disabled } catch (Error e) { // issued on OSX Java7: java.lang.Error: Could not find class: sun.awt.HeadlessGraphicsEnvironment - catched = e; + caught = e; } if (DEBUG) { - if(null != catched) { - catched.printStackTrace(); + if(null != caught) { + caught.printStackTrace(); } System.err.println("JOGL/Java2D OGL Pipeline active " + isOGLPipelineActive + ", resourceCompatible "+isOGLPipelineResourceCompatible); } diff --git a/src/jogl/classes/jogamp/opengl/egl/EGLContext.java b/src/jogl/classes/jogamp/opengl/egl/EGLContext.java index f89ded4f6..da1c8aa47 100644 --- a/src/jogl/classes/jogamp/opengl/egl/EGLContext.java +++ b/src/jogl/classes/jogamp/opengl/egl/EGLContext.java @@ -173,7 +173,7 @@ public class EGLContext extends GLContextImpl { try { // might be unavailable on EGL < 1.2 if( !EGL.eglBindAPI(EGL.EGL_OPENGL_ES_API) ) { - throw new GLException("Catched: eglBindAPI to ES failed , error "+toHexString(EGL.eglGetError())); + throw new GLException("Caught: eglBindAPI to ES failed , error "+toHexString(EGL.eglGetError())); } } catch (GLException glex) { if (DEBUG) { diff --git a/src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java b/src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java index 9ee0134f1..e50cb7262 100644 --- a/src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java +++ b/src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java @@ -545,7 +545,7 @@ public class EGLDrawableFactory extends GLDrawableFactoryImpl { } } catch (Throwable t) { if(DEBUG) { - System.err.println("Catched Exception on thread "+getThreadName()); + System.err.println("Caught exception on thread "+getThreadName()); t.printStackTrace(); } success = false; diff --git a/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java b/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java index 19a334b75..dadad1e15 100644 --- a/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java +++ b/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java @@ -785,7 +785,7 @@ public class MacOSXCGLContext extends GLContextImpl ols.detachSurfaceLayer(); } } catch(Throwable t) { - System.err.println("Catched Exception on thread "+getThreadName()); + System.err.println("Caught exception on thread "+getThreadName()); t.printStackTrace(); } CGL.releaseNSOpenGLLayer(cmd.nsOpenGLLayer); @@ -963,7 +963,7 @@ public class MacOSXCGLContext extends GLContextImpl } } catch (GLException gle) { if(DEBUG) { - System.err.println("MacOSXCGLContext.NSOpenGLImpl.release: INFO: glFlush() catched exception:"); + System.err.println("MacOSXCGLContext.NSOpenGLImpl.release: INFO: glFlush() caught exception:"); gle.printStackTrace(); } } @@ -1211,7 +1211,7 @@ public class MacOSXCGLContext extends GLContextImpl } } catch (GLException gle) { if(DEBUG) { - System.err.println("MacOSXCGLContext.CGLImpl.release: INFO: glFlush() catched exception:"); + System.err.println("MacOSXCGLContext.CGLImpl.release: INFO: glFlush() caught exception:"); gle.printStackTrace(); } } diff --git a/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDrawableFactory.java b/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDrawableFactory.java index 9ce71cfe9..8931045d1 100644 --- a/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDrawableFactory.java +++ b/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDrawableFactory.java @@ -273,7 +273,7 @@ public class MacOSXCGLDrawableFactory extends GLDrawableFactoryImpl { } } catch (GLException gle) { if (DEBUG) { - System.err.println("MacOSXCGLDrawableFactory.createShared: INFO: makeCurrent catched exception:"); + System.err.println("MacOSXCGLDrawableFactory.createShared: INFO: makeCurrent caught exception:"); gle.printStackTrace(); } } finally { @@ -281,7 +281,7 @@ public class MacOSXCGLDrawableFactory extends GLDrawableFactoryImpl { sharedContext.destroy(); } catch (GLException gle) { if (DEBUG) { - System.err.println("MacOSXCGLDrawableFactory.createShared: INFO: destroy catched exception:"); + System.err.println("MacOSXCGLDrawableFactory.createShared: INFO: destroy caught exception:"); gle.printStackTrace(); } } diff --git a/src/jogl/classes/jogamp/opengl/openal/av/ALAudioSink.java b/src/jogl/classes/jogamp/opengl/openal/av/ALAudioSink.java index 2c3adf957..6817ece8f 100644 --- a/src/jogl/classes/jogamp/opengl/openal/av/ALAudioSink.java +++ b/src/jogl/classes/jogamp/opengl/openal/av/ALAudioSink.java @@ -123,7 +123,7 @@ public class ALAudioSink implements AudioSink { _alExt = ALFactory.getALExt(); } catch(Throwable t) { if( DEBUG ) { - System.err.println("ALAudioSink: Catched "+t.getClass().getName()+": "+t.getMessage()); + System.err.println("ALAudioSink: Caught "+t.getClass().getName()+": "+t.getMessage()); t.printStackTrace(); } } @@ -287,7 +287,7 @@ public class ALAudioSink implements AudioSink { alc.alcDestroyContext(context); } catch (Throwable t) { if( DEBUG ) { - System.err.println("Catched "+t.getClass().getName()+": "+t.getMessage()); + System.err.println("Caught "+t.getClass().getName()+": "+t.getMessage()); t.printStackTrace(); } } @@ -495,7 +495,7 @@ public class ALAudioSink implements AudioSink { al.alDeleteBuffers(alBufferNames.length, alBufferNames, 0); } catch (Throwable t) { if( DEBUG ) { - System.err.println("Catched "+t.getClass().getName()+": "+t.getMessage()); + System.err.println("Caught "+t.getClass().getName()+": "+t.getMessage()); t.printStackTrace(); } } @@ -525,7 +525,7 @@ public class ALAudioSink implements AudioSink { al.alDeleteSources(1, alSource, 0); } catch (Throwable t) { if( DEBUG ) { - System.err.println("Catched "+t.getClass().getName()+": "+t.getMessage()); + System.err.println("Caught "+t.getClass().getName()+": "+t.getMessage()); t.printStackTrace(); } } @@ -541,7 +541,7 @@ public class ALAudioSink implements AudioSink { alc.alcCloseDevice(device); } catch (Throwable t) { if( DEBUG ) { - System.err.println("Catched "+t.getClass().getName()+": "+t.getMessage()); + System.err.println("Caught "+t.getClass().getName()+": "+t.getMessage()); t.printStackTrace(); } } diff --git a/src/nativewindow/classes/com/jogamp/nativewindow/awt/AppContextInfo.java b/src/nativewindow/classes/com/jogamp/nativewindow/awt/AppContextInfo.java index 54762bb77..c4f16e046 100644 --- a/src/nativewindow/classes/com/jogamp/nativewindow/awt/AppContextInfo.java +++ b/src/nativewindow/classes/com/jogamp/nativewindow/awt/AppContextInfo.java @@ -33,7 +33,7 @@ public class AppContextInfo { final Class<?> appContextClass = Class.forName("sun.awt.AppContext"); _getAppContextMethod[0] = appContextClass.getMethod("getAppContext"); } catch(Throwable ex) { - System.err.println("Bug 1004: Catched @ static: "+ex.getMessage()); + System.err.println("Bug 1004: Caught @ static: "+ex.getMessage()); ex.printStackTrace(); } return null; @@ -186,7 +186,7 @@ public class AppContextInfo { try { return getAppContextMethod.invoke(null); } catch(Exception ex) { - System.err.println("Bug 1004: Catched: "+ex.getMessage()); + System.err.println("Bug 1004: Caught: "+ex.getMessage()); ex.printStackTrace(); return null; } diff --git a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java index 5ef32a5aa..edaed3a39 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java +++ b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java @@ -263,7 +263,7 @@ public abstract class NativeWindowFactory { } customShutdownHooks.get(i).run(); } catch(Throwable t) { - System.err.println("NativeWindowFactory.shutdown: Catched "+t.getClass().getName()+" during customShutdownHook #"+(i+1)+"/"+cshCount); + System.err.println("NativeWindowFactory.shutdown: Caught "+t.getClass().getName()+" during customShutdownHook #"+(i+1)+"/"+cshCount); if( DEBUG ) { t.printStackTrace(); } diff --git a/src/nativewindow/classes/jogamp/nativewindow/awt/AWTMisc.java b/src/nativewindow/classes/jogamp/nativewindow/awt/AWTMisc.java index 738936078..b2067c143 100644 --- a/src/nativewindow/classes/jogamp/nativewindow/awt/AWTMisc.java +++ b/src/nativewindow/classes/jogamp/nativewindow/awt/AWTMisc.java @@ -184,7 +184,7 @@ public class AWTMisc { _nulCursor = toolkit.createCustomCursor(img, new Point(0,0), "nullCursor"); } catch (Exception he) { if( JAWTUtil.DEBUG ) { - System.err.println("Catched exception: "+he.getMessage()); + System.err.println("Caught exception: "+he.getMessage()); he.printStackTrace(); } } diff --git a/src/nativewindow/classes/jogamp/nativewindow/x11/X11Util.java b/src/nativewindow/classes/jogamp/nativewindow/x11/X11Util.java index 02e43791c..2f825e8d4 100644 --- a/src/nativewindow/classes/jogamp/nativewindow/x11/X11Util.java +++ b/src/nativewindow/classes/jogamp/nativewindow/x11/X11Util.java @@ -551,7 +551,7 @@ public class X11Util implements ToolkitProperties { try { res = X11Lib.XCloseDisplay(display); } catch (Exception ex) { - System.err.println("X11Util: Catched Exception:"); + System.err.println("X11Util: Caught exception:"); ex.printStackTrace(); } return res; diff --git a/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java b/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java index 48c7cd5bf..4efd60765 100644 --- a/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java +++ b/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java @@ -751,7 +751,7 @@ public class NewtCanvasAWT extends java.awt.Canvas implements WindowClosingProto } } } catch (NoninvertibleTransformException nte) { - System.err.println("Catched: Inversion failed of: "+g2d.getTransform()); + System.err.println("Caught: Inversion failed of: "+g2d.getTransform()); nte.printStackTrace(); } if( DEBUG ) { diff --git a/src/newt/classes/com/jogamp/newt/opengl/GLWindow.java b/src/newt/classes/com/jogamp/newt/opengl/GLWindow.java index cdc4f1217..992cc4284 100644 --- a/src/newt/classes/com/jogamp/newt/opengl/GLWindow.java +++ b/src/newt/classes/com/jogamp/newt/opengl/GLWindow.java @@ -626,7 +626,7 @@ public class GLWindow extends GLAutoDrawableBase implements GLAutoDrawable, Wind animThread.stop(); } catch(Throwable t) { if( DEBUG ) { - System.err.println("Catched "+t.getClass().getName()+": "+t.getMessage()); + System.err.println("Caught "+t.getClass().getName()+": "+t.getMessage()); t.printStackTrace(); } } diff --git a/src/newt/classes/jogamp/newt/DefaultEDTUtil.java b/src/newt/classes/jogamp/newt/DefaultEDTUtil.java index 7afa8d746..ae72c8c73 100644 --- a/src/newt/classes/jogamp/newt/DefaultEDTUtil.java +++ b/src/newt/classes/jogamp/newt/DefaultEDTUtil.java @@ -374,7 +374,7 @@ public class DefaultEDTUtil implements EDTUtil { } if(!task.hasWaiter() && null != task.getThrowable()) { // at least dump stack-trace in case nobody waits for result - System.err.println("DefaultEDT.run(): Catched exception occured on thread "+Thread.currentThread().getName()+": "+task.toString()); + System.err.println("DefaultEDT.run(): Caught exception occured on thread "+Thread.currentThread().getName()+": "+task.toString()); task.getThrowable().printStackTrace(); } } diff --git a/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java b/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java index 76bcfd094..67e2555fd 100644 --- a/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java +++ b/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java @@ -126,7 +126,7 @@ public abstract class GPUTextRendererListenerBase01 extends GPURendererListenerB this.fontName = font.toString(); } catch (IOException ioe) { - System.err.println("Catched: "+ioe.getMessage()); + System.err.println("Caught: "+ioe.getMessage()); ioe.printStackTrace(); } setMatrix(0, 0, 0, 0f, sampleCount); @@ -326,7 +326,7 @@ public abstract class GPUTextRendererListenerBase01 extends GPURendererListenerB return true; } } catch (IOException ex) { - System.err.println("Catched: "+ex.getMessage()); + System.err.println("Caught: "+ex.getMessage()); } return false; } @@ -343,7 +343,7 @@ public abstract class GPUTextRendererListenerBase01 extends GPURendererListenerB return true; } } catch (IOException ex) { - System.err.println("Catched: "+ex.getMessage()); + System.err.println("Caught: "+ex.getMessage()); } return false; } diff --git a/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java b/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java index 6dfda1ae6..89361b511 100644 --- a/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java +++ b/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java @@ -157,7 +157,7 @@ public class GPUUISceneGLListener0A implements GLEventListener { try { font = FontFactory.get(FontFactory.UBUNTU).getDefault(); } catch (IOException ioe) { - System.err.println("Catched: "+ioe.getMessage()); + System.err.println("Caught: "+ioe.getMessage()); ioe.printStackTrace(); } sceneUIController = new SceneUIController(sceneDist, zNear, zFar); @@ -708,7 +708,7 @@ public class GPUUISceneGLListener0A implements GLEventListener { try { font = FontFactory.get(fontSet).getDefault(); } catch (IOException ioe) { - System.err.println("Catched: "+ioe.getMessage()); + System.err.println("Caught: "+ioe.getMessage()); ioe.printStackTrace(); } @@ -991,4 +991,4 @@ public class GPUUISceneGLListener0A implements GLEventListener { } } } }; -}
\ No newline at end of file +} diff --git a/src/test/com/jogamp/opengl/test/junit/graph/demos/MSAATool.java b/src/test/com/jogamp/opengl/test/junit/graph/demos/MSAATool.java index ea593ec7d..3a4e3c4ce 100644 --- a/src/test/com/jogamp/opengl/test/junit/graph/demos/MSAATool.java +++ b/src/test/com/jogamp/opengl/test/junit/graph/demos/MSAATool.java @@ -43,7 +43,7 @@ public class MSAATool { System.err.println("glIsEnabled(0x"+Integer.toHexString(name)+") -> error 0x"+Integer.toHexString(glerr)); } } catch (Exception e) { - System.err.println("Catched Exception: "+e.getMessage()); + System.err.println("Caught exception: "+e.getMessage()); // e.printStackTrace(); } return isEnabled; diff --git a/src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java b/src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java index 0844d1f02..c57f65567 100644 --- a/src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java +++ b/src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java @@ -60,7 +60,7 @@ public class UIGLListener01 extends UIListenerBase01 { */ System.err.println(button); } catch (IOException ex) { - System.err.println("Catched: "+ex.getMessage()); + System.err.println("Caught: "+ex.getMessage()); ex.printStackTrace(); } } diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/Gears.java b/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/Gears.java index 8eb84e152..881625ee4 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/Gears.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/Gears.java @@ -257,7 +257,7 @@ public class Gears implements GLEventListener, TileRendererBase.TileRendererList window.removeMouseListener(gearsMouse); window.removeKeyListener(gearsKeys); } - } catch (Exception e) { System.err.println("Catched: "); e.printStackTrace(); } + } catch (Exception e) { System.err.println("Caught: "); e.printStackTrace(); } setGears(0, 0, 0); } diff --git a/src/test/com/jogamp/opengl/test/junit/util/MiscUtils.java b/src/test/com/jogamp/opengl/test/junit/util/MiscUtils.java index e5f13640d..746e7ee55 100644 --- a/src/test/com/jogamp/opengl/test/junit/util/MiscUtils.java +++ b/src/test/com/jogamp/opengl/test/junit/util/MiscUtils.java @@ -204,7 +204,7 @@ public class MiscUtils { } } } catch (IOException ioe) { - System.err.println("Catched "+ioe.getClass().getName()+": "+ioe.getMessage()); + System.err.println("Caught "+ioe.getClass().getName()+": "+ioe.getMessage()); ioe.printStackTrace(); } finally { eos = true; diff --git a/src/test/com/jogamp/opengl/test/junit/util/UITestCase.java b/src/test/com/jogamp/opengl/test/junit/util/UITestCase.java index 3c0f388b6..d37760ec3 100644 --- a/src/test/com/jogamp/opengl/test/junit/util/UITestCase.java +++ b/src/test/com/jogamp/opengl/test/junit/util/UITestCase.java @@ -170,7 +170,7 @@ public abstract class UITestCase { } } } catch (Exception e) { - System.err.println("Catched "+e.getClass().getName()+": "+e.getMessage()); + System.err.println("Caught "+e.getClass().getName()+": "+e.getMessage()); e.printStackTrace(); } } @@ -203,7 +203,7 @@ public abstract class UITestCase { errorCode = p.exitValue(); } } catch (Exception e) { - System.err.println("Catched "+e.getClass().getName()+": "+e.getMessage()); + System.err.println("Caught "+e.getClass().getName()+": "+e.getMessage()); e.printStackTrace(); errorCode = Integer.MIN_VALUE; } |