All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xyz.luan.console.parser.actions.InvalidCall Maven / Gradle / Ivy

Go to download

Java library to easily parse console input directly into controller classes with elegance.

There is a newer version: 1.0.4
Show newest version
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