summaryrefslogtreecommitdiff
path: root/src/io/Requester.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/Requester.java')
-rw-r--r--src/io/Requester.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/io/Requester.java b/src/io/Requester.java
index 3dd09f3..11e0bb1 100644
--- a/src/io/Requester.java
+++ b/src/io/Requester.java
@@ -20,8 +20,9 @@ public interface Requester {
* @param resource The REST resource.
* @return A JSON object resulting from the request.
* @throws java.io.IOException on error fetching the resource.
+ * @throws io.RateLimitException on ratelimit errors.
*/
- public Response getJSON(String resource) throws IOException;
+ public Response getJSON(String resource) throws IOException, RateLimitException;
/**
* Tests whether this instance can dispatch requests.