Package org.openhab.core.audio
Class UnsupportedAudioStreamException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openhab.core.audio.AudioException
org.openhab.core.audio.UnsupportedAudioStreamException
- All Implemented Interfaces:
Serializable
- Author:
- Christoph Weitkamp - Initial contribution
- See Also:
-
Constructor Summary
ConstructorDescriptionUnsupportedAudioStreamException
(String message, @Nullable Class<? extends @Nullable AudioStream> unsupportedAudioStreamClass) Constructs a new exception with the specified detail message and unsupported format.UnsupportedAudioStreamException
(String message, @Nullable Class<? extends @Nullable AudioStream> unsupportedAudioStreamClass, @Nullable Throwable cause) Constructs a new exception with the specified detail message, unsupported format, and cause. -
Method Summary
Modifier and TypeMethodDescription@Nullable Class<? extends @Nullable AudioStream>
Gets the unsupported audio stream class.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnsupportedAudioStreamException
public UnsupportedAudioStreamException(String message, @Nullable Class<? extends @Nullable AudioStream> unsupportedAudioStreamClass, @Nullable Throwable cause) Constructs a new exception with the specified detail message, unsupported format, and cause.- Parameters:
message
- The messageunsupportedAudioStreamClass
- The unsupported audio stream classcause
- The cause
-
UnsupportedAudioStreamException
public UnsupportedAudioStreamException(String message, @Nullable Class<? extends @Nullable AudioStream> unsupportedAudioStreamClass) Constructs a new exception with the specified detail message and unsupported format.- Parameters:
message
- The messageunsupportedAudioStreamClass
- The unsupported audio stream class
-
-
Method Details
-
getUnsupportedAudioStreamClass
Gets the unsupported audio stream class.- Returns:
- The unsupported audio stream class
-