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

net.anotheria.asg.exception.ConstantNotFoundException Maven / Gradle / Ivy

package net.anotheria.asg.exception;

/**
 * Exception thrown by getConstantByXXX methods of generated Enum types if no enum's
 * constant with such property found.
 *
 * @author another
 * @version $Id: $Id
 */
public class ConstantNotFoundException extends ASGRuntimeException{
	/**
	 * Serial version ID.
	 */
	private static final long serialVersionUID = 5536478059904917632L;
	/**
	 * Creates a new exception with a message.
	 *
	 * @param message a {@link java.lang.String} object.
	 */
	public ConstantNotFoundException(String message){
		super(message);
	}
	/**
	 * Creates a new exception with  a cause.
	 *
	 * @param cause a {@link java.lang.Throwable} object.
	 */
	public ConstantNotFoundException(Throwable cause){
		super(cause);
	}
	/**
	 * Creates a new exception with a message and a cause.
	 *
	 * @param cause a {@link java.lang.Throwable} object.
	 * @param message a {@link java.lang.String} object.
	 */
	public ConstantNotFoundException(String message, Throwable cause){
		super(message, cause);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy