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

@NonNullByDefault public class AudioException extends Exception
General purpose audio exception
Author:
Harald Kuhn - Initial contribution, Kelly Davis - Modified to match discussion in #584
See Also:
  • Constructor Details

    • AudioException

      public AudioException()
      Constructs a new exception with null as its detail message.
    • AudioException

      public AudioException(String message, @Nullable Throwable cause)
      Constructs a new exception with the specified detail message and cause.
      Parameters:
      message - Detail message
      cause - The cause
    • AudioException

      public AudioException(String message)
      Constructs a new exception with the specified detail message.
      Parameters:
      message - Detail message
    • AudioException

      public AudioException(Throwable cause)
      Constructs a new exception with the specified cause.
      Parameters:
      cause - The cause