ebul-func/src/main/java/info/ebenoit/ebul/func/FunctionException.java
Emmanuel BENOîT ec2c870f7b Initial import
Contains POM (probably incomplete) as well as all Throwing versions of
java.util.function interfaces + the Runnable interface.
2015-09-11 14:04:59 +02:00

27 lines
607 B
Java

package info.ebenoit.ebul.func;
/**
* Runtime exception thrown by Throwing* functional interfaces. Carries the cause of the problem.
*
* @author <a href="mailto:ebenoit@ebenoit.info">E. Benoît</a>
*/
public class FunctionException
extends RuntimeException
{
private static final long serialVersionUID = -2690556374343638022L;
/**
* Initialises the exception from a cause
*
* @param cause
* the exception that happened while the function was being executed.
*/
public FunctionException( final Throwable cause )
{
super( "checked exception in function" , cause );
}
}