Move exceptions to their own package.

This will break plugins that directly catch these exceptions.
This commit is contained in:
GJ
2013-04-10 20:21:55 -04:00
parent fbee4f1b37
commit 07f9b287e7
3 changed files with 4 additions and 2 deletions

View File

@ -0,0 +1,9 @@
package com.gmail.nossr50.api.exceptions;
public class InvalidPlayerException extends RuntimeException {
private static final long serialVersionUID = 907213002618581385L;
public InvalidPlayerException() {
super("That player does not exist in the database.");
}
}

View File

@ -0,0 +1,9 @@
package com.gmail.nossr50.api.exceptions;
public class InvalidSkillException extends RuntimeException {
private static final long serialVersionUID = 942705284195791157L;
public InvalidSkillException() {
super("That is not a valid skill.");
}
}