mirror of
https://github.com/GTNewHorizons/lwjgl3ify.git
synced 2026-11-21 12:42:15 +00:00
45 lines
993 B
Java
45 lines
993 B
Java
package org.lwjgl.openal;
|
|
|
|
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);
|
|
}
|
|
}
|