mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-30 00:56:47 +01:00
Move exceptions to their own package.
This will break plugins that directly catch these exceptions.
This commit is contained in:
parent
fbee4f1b37
commit
07f9b287e7
@ -4,6 +4,8 @@ import java.util.Set;
|
|||||||
|
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
|
import com.gmail.nossr50.api.exceptions.InvalidPlayerException;
|
||||||
|
import com.gmail.nossr50.api.exceptions.InvalidSkillException;
|
||||||
import com.gmail.nossr50.config.Config;
|
import com.gmail.nossr50.config.Config;
|
||||||
import com.gmail.nossr50.datatypes.player.PlayerProfile;
|
import com.gmail.nossr50.datatypes.player.PlayerProfile;
|
||||||
import com.gmail.nossr50.datatypes.skills.SkillType;
|
import com.gmail.nossr50.datatypes.skills.SkillType;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.gmail.nossr50.api;
|
package com.gmail.nossr50.api.exceptions;
|
||||||
|
|
||||||
public class InvalidPlayerException extends RuntimeException {
|
public class InvalidPlayerException extends RuntimeException {
|
||||||
private static final long serialVersionUID = 907213002618581385L;
|
private static final long serialVersionUID = 907213002618581385L;
|
@ -1,4 +1,4 @@
|
|||||||
package com.gmail.nossr50.api;
|
package com.gmail.nossr50.api.exceptions;
|
||||||
|
|
||||||
public class InvalidSkillException extends RuntimeException {
|
public class InvalidSkillException extends RuntimeException {
|
||||||
private static final long serialVersionUID = 942705284195791157L;
|
private static final long serialVersionUID = 942705284195791157L;
|
Loading…
Reference in New Issue
Block a user