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

com.tngtech.jgiven.exception.JGivenUserException Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version
package com.tngtech.jgiven.exception;

import java.lang.reflect.Method;

/**
 * This exception is thrown when JGiven tried to execute a user-defined method and that method has thrown an exception.
 */
public class JGivenUserException extends RuntimeException {
    private static final long serialVersionUID = 1L;

    public JGivenUserException( Method method, String methodDescription, Throwable cause ) {
        super( "JGiven caught an exception while trying to execute method " + method + methodDescription + ".", cause );
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy