mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 19:18:06 +00:00
fix linphonecoreexception
This commit is contained in:
parent
2044497521
commit
d770e13391
2 changed files with 4 additions and 2 deletions
|
|
@ -130,8 +130,9 @@ public interface LinphoneCore {
|
|||
* {@link LinphoneCoreListener#inviteReceived(LinphoneCore, String)} listener.
|
||||
* The application can later respond positively to the call using
|
||||
* this method.
|
||||
* @throws LinphoneCoreException
|
||||
*/
|
||||
public void acceptCall();
|
||||
public void acceptCall() throws LinphoneCoreException;
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ public class LinphoneCoreException extends Exception {
|
|||
|
||||
}
|
||||
public LinphoneCoreException(Throwable e) {
|
||||
this(e.getClass().getName()+" "+ e.getMessage());
|
||||
mE = e;
|
||||
}
|
||||
|
||||
|
|
@ -40,7 +41,7 @@ public class LinphoneCoreException extends Exception {
|
|||
|
||||
public void printStackTrace() {
|
||||
super.printStackTrace();
|
||||
mE.printStackTrace();
|
||||
if (mE!=null) mE.printStackTrace();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue