summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-06-28 16:07:36 +0200
committerSven Gothel <[email protected]>2014-06-28 16:07:36 +0200
commit43c85971bba8a188b8888f68133ad4ecc97131fd (patch)
tree317d687fb9d538359c6b302e7bdfc91cc782cb50 /src/jogl/classes/jogamp/opengl
parentf91dad1a0898959fb379f0f5a2081fe0fbb50f9d (diff)
Fix 'typo' in messages: 'Catched' -> 'Caught'
Diffstat (limited to 'src/jogl/classes/jogamp/opengl')
-rw-r--r--src/jogl/classes/jogamp/opengl/GLContextImpl.java2
-rw-r--r--src/jogl/classes/jogamp/opengl/GLDrawableFactoryImpl.java2
-rw-r--r--src/jogl/classes/jogamp/opengl/GLDrawableHelper.java6
-rw-r--r--src/jogl/classes/jogamp/opengl/SharedResourceRunner.java2
-rw-r--r--src/jogl/classes/jogamp/opengl/awt/Java2D.java10
-rw-r--r--src/jogl/classes/jogamp/opengl/egl/EGLContext.java2
-rw-r--r--src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java2
-rw-r--r--src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java6
-rw-r--r--src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDrawableFactory.java4
-rw-r--r--src/jogl/classes/jogamp/opengl/openal/av/ALAudioSink.java10
10 files changed, 23 insertions, 23 deletions
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();
}
}