diff --git a/src/main/java/de/svenkubiak/jpushover/apis/Glance.java b/src/main/java/de/svenkubiak/jpushover/apis/Glance.java index 02f4563..9eb8aa2 100644 --- a/src/main/java/de/svenkubiak/jpushover/apis/Glance.java +++ b/src/main/java/de/svenkubiak/jpushover/apis/Glance.java @@ -154,8 +154,8 @@ public class Glance implements API { * * @return PushoverResponse instance * - * @throws IOException if sending the message fails * @throws InterruptedException if sending the message fails + * @throws ExecutionException if sending the message fails */ @SuppressWarnings({ "rawtypes", "unchecked" }) public Future pushAsync() throws InterruptedException, ExecutionException { diff --git a/src/main/java/de/svenkubiak/jpushover/apis/Message.java b/src/main/java/de/svenkubiak/jpushover/apis/Message.java index f9e176a..7d24326 100644 --- a/src/main/java/de/svenkubiak/jpushover/apis/Message.java +++ b/src/main/java/de/svenkubiak/jpushover/apis/Message.java @@ -312,8 +312,8 @@ public class Message implements API { * * @return PushoverResponse instance * - * @throws IOException if sending the message fails * @throws InterruptedException if sending the message fails + * @throws ExecutionException if sending the message fails */ @SuppressWarnings({ "unchecked", "rawtypes" }) public Future pushAsync() throws InterruptedException, ExecutionException {