From 43c85971bba8a188b8888f68133ad4ecc97131fd Mon Sep 17 00:00:00 2001
From: Sven Gothel <sgothel@jausoft.com>
Date: Sat, 28 Jun 2014 16:07:36 +0200
Subject: Fix 'typo' in messages: 'Catched' -> 'Caught'

---
 src/jogl/classes/jogamp/opengl/egl/EGLContext.java         | 2 +-
 src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/jogl/classes/jogamp/opengl/egl')

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;
-- 
cgit v1.2.3