Jogamp
Fix 'typo' in messages: 'Catched' -> 'Caught'
authorSven Gothel <sgothel@jausoft.com>
Sat, 28 Jun 2014 14:07:36 +0000 (16:07 +0200)
committerSven Gothel <sgothel@jausoft.com>
Sat, 28 Jun 2014 14:07:36 +0000 (16:07 +0200)
33 files changed:
doc/NewUI-Req01.txt
src/jogl/classes/com/jogamp/opengl/util/Animator.java
src/jogl/classes/com/jogamp/opengl/util/av/AudioSinkFactory.java
src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayerFactory.java
src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderUtil.java
src/jogl/classes/javax/media/opengl/GLDrawableFactory.java
src/jogl/classes/javax/media/opengl/GLProfile.java
src/jogl/classes/javax/media/opengl/awt/GLCanvas.java
src/jogl/classes/javax/media/opengl/awt/GLJPanel.java
src/jogl/classes/jogamp/opengl/GLContextImpl.java
src/jogl/classes/jogamp/opengl/GLDrawableFactoryImpl.java
src/jogl/classes/jogamp/opengl/GLDrawableHelper.java
src/jogl/classes/jogamp/opengl/SharedResourceRunner.java
src/jogl/classes/jogamp/opengl/awt/Java2D.java
src/jogl/classes/jogamp/opengl/egl/EGLContext.java
src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java
src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java
src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDrawableFactory.java
src/jogl/classes/jogamp/opengl/openal/av/ALAudioSink.java
src/nativewindow/classes/com/jogamp/nativewindow/awt/AppContextInfo.java
src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java
src/nativewindow/classes/jogamp/nativewindow/awt/AWTMisc.java
src/nativewindow/classes/jogamp/nativewindow/x11/X11Util.java
src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java
src/newt/classes/com/jogamp/newt/opengl/GLWindow.java
src/newt/classes/jogamp/newt/DefaultEDTUtil.java
src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java
src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java
src/test/com/jogamp/opengl/test/junit/graph/demos/MSAATool.java
src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java
src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/Gears.java
src/test/com/jogamp/opengl/test/junit/util/MiscUtils.java
src/test/com/jogamp/opengl/test/junit/util/UITestCase.java

index 67af76d..e93cc5e 100644 (file)
@@ -61,6 +61,6 @@ rendered UI elements, the application may add on a 2D place in the scene
 and propagates events to the UI TK event dispatcher.
 
 Additionally we could just offer such a 'realizer' adapter for simple applications,
-ie render the UI textures and propagating catched events on it's plane.
+ie render the UI textures and propagating caught events on it's plane.
 
 
index 7990692..3193861 100644 (file)
@@ -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 {
index 2cfd40d..386b1e0 100644 (file)
@@ -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;
index 248e265..558d596 100644 (file)
@@ -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;
     }
 }
index 5cd384c..ad5331a 100644 (file)
@@ -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) {
index 9b823a6..077daf6 100644 (file)
@@ -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();
                 }
index 3d19252..addc977 100644 (file)
@@ -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;
index 9086d1a..e3a7838 100644 (file)
@@ -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 ) {
index 1cf0348..558970d 100644 (file)
@@ -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 ) {
index c815556..b88bdcd 100644 (file)
@@ -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();
           }
       }
index 2dbd6de..a401944 100644 (file)
@@ -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();
           }
       }
index c060338..bf79182 100644 (file)
@@ -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();
                       }
                   }
index 283ecdb..1688d10 100644 (file)
@@ -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();
             }
         }
index 886cd93..5735b87 100644 (file)
@@ -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);
           }
index f89ded4..da1c8aa 100644 (file)
@@ -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) {
index 9ee0134..e50cb72 100644 (file)
@@ -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;
index 19a334b..dadad1e 100644 (file)
@@ -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();
               }
           }
index 9ce71cf..8931045 100644 (file)
@@ -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();
                     }
                 }
index 2c3adf9..6817ece 100644 (file)
@@ -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();
                 }
             }
index 54762bb..c4f16e0 100644 (file)
@@ -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;
       }
index 5ef32a5..edaed3a 100644 (file)
@@ -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();
                     }
index 7389360..b2067c1 100644 (file)
@@ -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();
                 }
             }
index 02e4379..2f825e8 100644 (file)
@@ -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;
index 48c7cd5..4efd607 100644 (file)
@@ -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 ) {
index cdc4f12..992cc42 100644 (file)
@@ -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();
                                     }
                                 }
index 7afa8d7..ae72c8c 100644 (file)
@@ -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();
                         }
                     }
index 76bcfd0..67e2555 100644 (file)
@@ -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;
     }
index 6dfda1a..89361b5 100644 (file)
@@ -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
+}
index ea593ec..3a4e3c4 100644 (file)
@@ -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;
index 0844d1f..c57f655 100644 (file)
@@ -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();
         }
     }
index 8eb84e1..881625e 100644 (file)
@@ -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);
   }
 
index e5f1364..746e7ee 100644 (file)
@@ -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;
index 3c0f388..d37760e 100644 (file)
@@ -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;
         }
http://JogAmp.org git info: FAQ, tutorial and man pages.