-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
265e878
commit 69e13c2
Showing
9 changed files
with
181 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
src/main/java/me/skiincraft/api/paladins/exceptions/ChampionException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package me.skiincraft.api.paladins.exceptions; | ||
|
||
public class ChampionException extends RuntimeException { | ||
|
||
public ChampionException(String message) { | ||
super(message); | ||
} | ||
} |
16 changes: 2 additions & 14 deletions
16
src/main/java/me/skiincraft/api/paladins/exceptions/MatchException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,9 @@ | ||
package me.skiincraft.api.paladins.exceptions; | ||
|
||
public class MatchException extends Exception { | ||
|
||
/** | ||
* | ||
*/ | ||
private static final long serialVersionUID = -5758961246899999315L; | ||
private String message; | ||
|
||
public class MatchException extends RuntimeException { | ||
|
||
public MatchException(String message) { | ||
this.message = message; | ||
} | ||
|
||
@Override | ||
public String getMessage() { | ||
return message; | ||
super(message); | ||
} | ||
|
||
} |
17 changes: 2 additions & 15 deletions
17
src/main/java/me/skiincraft/api/paladins/exceptions/PlayerException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,9 @@ | ||
package me.skiincraft.api.paladins.exceptions; | ||
|
||
public class PlayerException extends Exception { | ||
public class PlayerException extends RuntimeException { | ||
|
||
|
||
/** | ||
* | ||
*/ | ||
private static final long serialVersionUID = 1L; | ||
private String message; | ||
|
||
|
||
public PlayerException(String message) { | ||
this.message = message; | ||
} | ||
|
||
@Override | ||
public String getMessage() { | ||
return message; | ||
super(message); | ||
} | ||
|
||
} |
13 changes: 5 additions & 8 deletions
13
src/main/java/me/skiincraft/api/paladins/exceptions/RequestException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
src/main/java/me/skiincraft/api/paladins/exceptions/SearchException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package me.skiincraft.api.paladins.exceptions; | ||
|
||
public class SearchException extends RuntimeException { | ||
|
||
public SearchException(String message) { | ||
super(message); | ||
} | ||
|
||
} |
Oops, something went wrong.