mirror of
https://github.com/GTNewHorizons/lwjgl3ify.git
synced 2026-11-21 12:42:15 +00:00
Fix a couple of crashes from the full pack
This commit is contained in:
1 parent
ab8380f01d
commit
f649173132
2 files changed
+43
-2
No files matched your search
@@ -1,3 +1,44 @@
|
||||
package org.lwjgl.openal;
|
||||
|
||||
public class OpenALException extends java.lang.RuntimeException {}
|
||||
public class OpenALException extends org.lwjglx.openal.OpenALException {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Constructor for OpenALException.
|
||||
*/
|
||||
public OpenALException() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor that takes an AL error number
|
||||
*/
|
||||
public OpenALException(int error_code) {
|
||||
super("OpenAL error: " + org.lwjgl.openal.AL10.alGetString(error_code) + " (" + error_code + ")");
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor for OpenALException.
|
||||
* @param message
|
||||
*/
|
||||
public OpenALException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor for OpenALException.
|
||||
* @param message
|
||||
* @param cause
|
||||
*/
|
||||
public OpenALException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor for OpenALException.
|
||||
* @param cause
|
||||
*/
|
||||
public OpenALException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user