We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d9e592 commit 6bab557Copy full SHA for 6bab557
socha-sdk/src/framework/sc/shared/InvalidGameStateException.java renamed to socha-sdk/src/framework/sc/shared/InvalidGameStateException.kt
@@ -1,14 +1,10 @@
1
-package sc.shared;
+package sc.shared
2
+
3
+import kotlin.RuntimeException
4
5
/**
6
* This exception is thrown if the server tried to create an invalid game state.
7
* This indicates an error in the server or plugin code. It should never be
8
* thrown on invalid input to the server (i.e. invalid move made).
9
*/
-public class InvalidGameStateException extends RuntimeException {
-
10
- public InvalidGameStateException(String reason) {
11
- super(reason);
12
- }
13
14
-}
+class InvalidGameStateException(reason: String): RuntimeException(reason)
0 commit comments