|
From: Elias N. <eli...@us...> - 2004-03-27 15:16:33
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/openal In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3234/src/java/org/lwjgl/openal Modified Files: AL.java ALC.java Log Message: Renamed LWJGLErrorException to LWJGLException Index: ALC.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/openal/ALC.java,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- ALC.java 27 Mar 2004 14:42:46 -0000 1.16 +++ ALC.java 27 Mar 2004 15:05:23 -0000 1.17 @@ -35,7 +35,7 @@ import java.nio.IntBuffer; import org.lwjgl.Sys; -import org.lwjgl.LWJGLErrorException; +import org.lwjgl.LWJGLException; /** * $Id$ @@ -159,9 +159,9 @@ /** * Creates the ALC instance * - * @throws LWJGLErrorException if a failiure occured in the ALC creation process + * @throws LWJGLException if a failiure occured in the ALC creation process */ - protected static void create() throws LWJGLErrorException { + protected static void create() throws LWJGLException { if (created) { return; } Index: AL.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/openal/AL.java,v retrieving revision 1.20 retrieving revision 1.21 diff -u -d -r1.20 -r1.21 --- AL.java 27 Mar 2004 14:42:46 -0000 1.20 +++ AL.java 27 Mar 2004 15:05:23 -0000 1.21 @@ -37,7 +37,7 @@ import org.lwjgl.Display; import org.lwjgl.Sys; -import org.lwjgl.LWJGLErrorException; +import org.lwjgl.LWJGLException; /** * $Id$ @@ -87,7 +87,7 @@ * @param oalPaths Array of strings containing paths to search for OpenAL library * @return true if the AL creation process succeeded */ - protected static native void nCreate(String[] oalPaths) throws LWJGLErrorException; + protected static native void nCreate(String[] oalPaths) throws LWJGLException; /** * Native method the destroy the AL @@ -112,7 +112,7 @@ * @param contextSynchronized Flag, indicating a synchronous context.* */ public static void create(String deviceArguments, int contextFrequency, int contextRefresh, boolean contextSynchronized) - throws LWJGLErrorException { + throws LWJGLException { if (created) { return; @@ -131,7 +131,7 @@ * Creates an OpenAL instance. The empty create will cause OpenAL to * open the default device, and create a context using default values. */ - public static void create() throws LWJGLErrorException { + public static void create() throws LWJGLException { if(created) { return; } @@ -152,7 +152,7 @@ jwsLibname = "openal"; break; default: - throw new LWJGLErrorException("Unknown platform"); + throw new LWJGLException("Unknown platform"); } String jwsPath = getPathFromJWS(jwsLibname); |