JOAL v2.6.0-rc-20250712
JOAL, OpenAL® API Binding for Java™ (public API).
ALException.java
Go to the documentation of this file.
1/**
2 * Copyright (c) 2003-2005 Sun Microsystems, Inc. All Rights Reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are met:
6 *
7 * -Redistribution of source code must retain the above copyright notice,
8 * this list of conditions and the following disclaimer.
9 *
10 * -Redistribution in binary form must reproduce the above copyright notice,
11 * this list of conditions and the following disclaimer in the documentation
12 * and/or other materials provided with the distribution.
13 *
14 * Neither the name of Sun Microsystems, Inc. or the names of contributors may
15 * be used to endorse or promote products derived from this software without
16 * specific prior written permission.
17 *
18 * This software is provided "AS IS," without a warranty of any kind.
19 * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING
20 * ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
21 * NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN MICROSYSTEMS, INC. ("SUN") AND ITS
22 * LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A
23 * RESULT OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
24 * IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT
25 * OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR
26 * PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY,
27 * ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS
28 * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
29 *
30 * You acknowledge that this software is not designed or intended for use in the
31 * design, construction, operation or maintenance of any nuclear facility.
32 */
33
34package com.jogamp.openal;
35
36/** A generic exception for OpenAL errors used throughout the binding
37 as a substitute for {@link RuntimeException}. */
38
39@SuppressWarnings("serial")
40public class ALException extends RuntimeException {
41 /** Constructs an ALException object. */
42 public ALException() {
43 super();
44 }
45
46 /** Constructs an ALException object with the specified detail
47 message. */
48 public ALException(final String message) {
49 super(message);
50 }
51
52 /** Constructs an ALException object with the specified detail
53 message and root cause. */
54 public ALException(final String message, final Throwable cause) {
55 super(message, cause);
56 }
57
58 /** Constructs an ALException object with the specified root
59 cause. */
60 public ALException(final Throwable cause) {
61 super(cause);
62 }
63}
A generic exception for OpenAL errors used throughout the binding as a substitute for RuntimeExceptio...
ALException(final String message)
Constructs an ALException object with the specified detail message.
ALException(final Throwable cause)
Constructs an ALException object with the specified root cause.
ALException()
Constructs an ALException object.
ALException(final String message, final Throwable cause)
Constructs an ALException object with the specified detail message and root cause.