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

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

package xyz.luan.console.parser.actions;

import java.lang.reflect.Method;

public class InvalidHandler extends Exception {

	private static final long serialVersionUID = -5146327797265733979L;

	public InvalidHandler(String message) {
		super(message);
	}

	public InvalidHandler(Method method, String error) {
		super(String.format("Handler %s:%s is invalid: %s", method.getDeclaringClass().getName(), method.getName(), error));
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy