xyz.luan.console.parser.actions.InvalidCall Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of console-parser Show documentation
Show all versions of console-parser Show documentation
Java library to easily parse console input directly into controller classes with elegance.
package xyz.luan.console.parser.actions;
public class InvalidCall extends Exception {
private static final long serialVersionUID = -1847854306985567286L;
public InvalidCall(String message) {
super(message);
}
public InvalidCall(String action, Exception cause) {
super("Invalid call of action '" + action + "'; error: " + cause.getMessage(), cause);
}
public InvalidCall(String action, String message) {
super("Invalid call of method '" + action + "'; error: " + message);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy