mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-12 02:01:46 +00:00
Support for Signal calls.
Merge in RedPhone // FREEBIE
This commit is contained in:
23
src/org/thoughtcrime/redphone/audio/AudioException.java
Normal file
23
src/org/thoughtcrime/redphone/audio/AudioException.java
Normal file
@@ -0,0 +1,23 @@
|
||||
package org.thoughtcrime.redphone.audio;
|
||||
|
||||
/**
|
||||
* An exception related to the audio subsystem.
|
||||
*
|
||||
* @author Stuart O. Anderson
|
||||
*/
|
||||
public class AudioException extends Exception {
|
||||
private final String clientMessage;
|
||||
|
||||
public AudioException(String clientMessage) {
|
||||
this.clientMessage = clientMessage;
|
||||
}
|
||||
|
||||
public AudioException(AudioException cause) {
|
||||
super(cause);
|
||||
this.clientMessage = cause.clientMessage;
|
||||
}
|
||||
|
||||
public String getClientMessage() {
|
||||
return clientMessage;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user