diff options
author | Kenneth Russel <kbrussel@alum.mit.edu> | 2005-11-12 01:41:59 +0000 |
---|---|---|
committer | Kenneth Russel <kbrussel@alum.mit.edu> | 2005-11-12 01:41:59 +0000 |
commit | 28a54ba2050ee936f6370aa89fccdde23418fcbb (patch) | |
tree | a41644e1ca4498a6e9f8ac9299d371b776845f03 /src/classes/com/sun/opengl/impl | |
parent | 4245ea5d8e1d27c8dd698c93b901dba64aa7906e (diff) |
Minor javadoc changes to GLDrawableFactory.
chooseGraphicsConfiguration() suggested by Justin Couch
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@441 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/com/sun/opengl/impl')
-rw-r--r-- | src/classes/com/sun/opengl/impl/x11/X11GLDrawableFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classes/com/sun/opengl/impl/x11/X11GLDrawableFactory.java b/src/classes/com/sun/opengl/impl/x11/X11GLDrawableFactory.java index 64b4d437c..1243a766a 100644 --- a/src/classes/com/sun/opengl/impl/x11/X11GLDrawableFactory.java +++ b/src/classes/com/sun/opengl/impl/x11/X11GLDrawableFactory.java @@ -90,7 +90,7 @@ public class X11GLDrawableFactory extends GLDrawableFactoryImpl { GraphicsDevice device = null; if (absDevice != null && !(absDevice instanceof AWTGraphicsDevice)) { - throw new GLException("This GLDrawableFactory accepts only AWTGraphicsDevice objects"); + throw new IllegalArgumentException("This GLDrawableFactory accepts only AWTGraphicsDevice objects"); } if ((absDevice == null) || |