Commit d770e133 authored by jehan's avatar jehan
Browse files

fix linphonecoreexception

parent 20444975
No related merge requests found
Showing 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();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment