File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/com/github/ygimenez/method Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public class Pages {
41
41
* <br>
42
42
* Before calling this method again, you must use {@link #deactivate(JDA)} to
43
43
* remove current handler, else this method will throw
44
- * {@link InvalidStateException }.
44
+ * {@link AlreadyActivatedException }.
45
45
*
46
46
* @param api The bot's {@link JDA} object.
47
47
* @throws AlreadyActivatedException Thrown if there's a handler already set.
@@ -73,7 +73,7 @@ public static void deactivate(JDA api) {
73
73
* <br>
74
74
* Before calling this method again, you must use
75
75
* {@link #deactivate(ShardManager)} to remove current handler, else this method
76
- * will throw {@link InvalidStateException }.
76
+ * will throw {@link AlreadyActivatedException }.
77
77
*
78
78
* @param manager The bot's {@link ShardManager} object.
79
79
* @throws AlreadyActivatedException Thrown if there's a handler already set.
You can’t perform that action at this time.
0 commit comments