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/nativewindow | |
parent | f91dad1a0898959fb379f0f5a2081fe0fbb50f9d (diff) |
Fix 'typo' in messages: 'Catched' -> 'Caught'
Diffstat (limited to 'src/nativewindow')
4 files changed, 5 insertions, 5 deletions
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; |