Package org.openhab.core.audio
Class AudioException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openhab.core.audio.AudioException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UnsupportedAudioFormatException
,UnsupportedAudioStreamException
General purpose audio exception
- Author:
- Harald Kuhn - Initial contribution, Kelly Davis - Modified to match discussion in #584
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a new exception with null as its detail message.AudioException
(String message) Constructs a new exception with the specified detail message.AudioException
(String message, @Nullable Throwable cause) Constructs a new exception with the specified detail message and cause.AudioException
(Throwable cause) Constructs a new exception with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AudioException
public AudioException()Constructs a new exception with null as its detail message. -
AudioException
Constructs a new exception with the specified detail message and cause.- Parameters:
message
- Detail messagecause
- The cause
-
AudioException
Constructs a new exception with the specified detail message.- Parameters:
message
- Detail message
-
AudioException
Constructs a new exception with the specified cause.- Parameters:
cause
- The cause
-