Added LWJGLErrorException to replace the too general Exception

This commit is contained in:
Elias Naur 2004-03-27 14:42:47 +00:00
parent 021e03eea5
commit 63b33930b1
14 changed files with 197 additions and 181 deletions

View file

@ -35,6 +35,7 @@ import java.nio.Buffer;
import java.nio.IntBuffer;
import org.lwjgl.Sys;
import org.lwjgl.LWJGLErrorException;
/**
* $Id$
@ -158,9 +159,9 @@ public class ALC {
/**
* Creates the ALC instance
*
* @throws Exception if a failiure occured in the ALC creation process
* @throws LWJGLErrorException if a failiure occured in the ALC creation process
*/
protected static void create() throws OpenALException {
protected static void create() throws LWJGLErrorException {
if (created) {
return;
}