mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-26 14:00:14 +00:00
remove command exceptions
This commit is contained in:
1 parent
f71fbeda84
commit
814d3fe7c2
5 files changed
-68
No files matched your search
@@ -1,13 +0,0 @@
|
|||||||
package com.dfsek.terra.api.command.exception;
|
|
||||||
|
|
||||||
public abstract class CommandException extends Exception {
|
|
||||||
private static final long serialVersionUID = -2955328495045879822L;
|
|
||||||
|
|
||||||
public CommandException(String message) {
|
|
||||||
super(message);
|
|
||||||
}
|
|
||||||
|
|
||||||
public CommandException(String message, Throwable cause) {
|
|
||||||
super(message, cause);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
-13
@@ -1,13 +0,0 @@
|
|||||||
package com.dfsek.terra.api.command.exception;
|
|
||||||
|
|
||||||
public class ExecutionException extends CommandException {
|
|
||||||
private static final long serialVersionUID = -6345523475880607959L;
|
|
||||||
|
|
||||||
public ExecutionException(String message) {
|
|
||||||
super(message);
|
|
||||||
}
|
|
||||||
|
|
||||||
public ExecutionException(String message, Throwable cause) {
|
|
||||||
super(message, cause);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
-13
@@ -1,13 +0,0 @@
|
|||||||
package com.dfsek.terra.api.command.exception;
|
|
||||||
|
|
||||||
public class InvalidArgumentsException extends CommandException {
|
|
||||||
private static final long serialVersionUID = 7563619667472569824L;
|
|
||||||
|
|
||||||
public InvalidArgumentsException(String message) {
|
|
||||||
super(message);
|
|
||||||
}
|
|
||||||
|
|
||||||
public InvalidArgumentsException(String message, Throwable cause) {
|
|
||||||
super(message, cause);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
-16
@@ -1,16 +0,0 @@
|
|||||||
package com.dfsek.terra.api.command.exception;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Thrown when command is incorrectly defined.
|
|
||||||
*/
|
|
||||||
public class MalformedCommandException extends CommandException {
|
|
||||||
private static final long serialVersionUID = -5417760860407895496L;
|
|
||||||
|
|
||||||
public MalformedCommandException(String message) {
|
|
||||||
super(message);
|
|
||||||
}
|
|
||||||
|
|
||||||
public MalformedCommandException(String message, Throwable cause) {
|
|
||||||
super(message, cause);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
-13
@@ -1,13 +0,0 @@
|
|||||||
package com.dfsek.terra.api.command.exception;
|
|
||||||
|
|
||||||
public class SwitchFormatException extends CommandException {
|
|
||||||
private static final long serialVersionUID = -965858989317844628L;
|
|
||||||
|
|
||||||
public SwitchFormatException(String message) {
|
|
||||||
super(message);
|
|
||||||
}
|
|
||||||
|
|
||||||
public SwitchFormatException(String message, Throwable cause) {
|
|
||||||
super(message, cause);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in new issue
Block a user