Package org.openstreetmap.josm.io.audio
Class AudioException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.openstreetmap.josm.io.audio.AudioException
-
- All Implemented Interfaces:
Serializable
public class AudioException extends Exception
Generic audio exception. Mainly used to wrap backend exceptions varying between implementations.- Since:
- 12328
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AudioException(String message)
Constructs a newAudioException
.AudioException(String message, Throwable cause)
Constructs a newAudioException
.AudioException(Throwable cause)
Constructs a newAudioException
.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AudioException
public AudioException(String message, Throwable cause)
Constructs a newAudioException
.- Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method).cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method).
-
AudioException
public AudioException(String message)
Constructs a newAudioException
.- Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method).
-
AudioException
public AudioException(Throwable cause)
Constructs a newAudioException
.- Parameters:
cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method).
-
-