de.a9d3.testing.executer.exception.CheckFailedException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of base-test Show documentation
Show all versions of base-test Show documentation
A project which helps you testing your java classes for basic things like getter==setter,
hashCode and equals methods and other programming schemas.
Also provides a convenient way to instantiate classes with seeded random data.
The newest version!
package de.a9d3.testing.executer.exception;
import de.a9d3.testing.checks.CheckInterface;
public class CheckFailedException extends RuntimeException {
public CheckFailedException(CheckInterface check, Exception inner) {
super("check " + check.toString() + " failed. See inner exception.", inner);
}
public CheckFailedException(CheckInterface check) {
super("check " + check.toString() + " failed.");
}
public CheckFailedException(String reason) {
super(reason);
}
}