From: <ma...@us...> - 2006-04-30 21:09:21
|
Revision: 2312 Author: matzon Date: 2006-04-30 14:09:16 -0700 (Sun, 30 Apr 2006) ViewCVS: http://svn.sourceforge.net/java-game-lib/?rev=2312&view=rev Log Message: ----------- changed cursor support exception to lwjglexception Modified Paths: -------------- trunk/LWJGL/src/java/org/lwjgl/input/Cursor.java Modified: trunk/LWJGL/src/java/org/lwjgl/input/Cursor.java =================================================================== --- trunk/LWJGL/src/java/org/lwjgl/input/Cursor.java 2006-04-30 19:45:29 UTC (rev 2311) +++ trunk/LWJGL/src/java/org/lwjgl/input/Cursor.java 2006-04-30 21:09:16 UTC (rev 2312) @@ -85,7 +85,7 @@ */ public Cursor(int width, int height, int xHotspot, int yHotspot, int numImages, IntBuffer images, IntBuffer delays) throws LWJGLException { if ((getCapabilities() & CURSOR_ONE_BIT_TRANSPARENCY) == 0) - throw new IllegalStateException("Native cursors not supported"); + throw new LWJGLException("Native cursors not supported"); BufferChecks.checkBuffer(images, width*height*numImages); if (!Mouse.isCreated()) throw new IllegalStateException("Mouse must be created before creating cursor objects"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |