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

org.junit.internal.runners.rules.ValidationError Maven / Gradle / Ivy

Go to download

JUnit is a unit testing framework for Java, created by Erich Gamma and Kent Beck.

There is a newer version: 4.13.2
Show newest version
package org.junit.internal.runners.rules;

import org.junit.runners.model.FrameworkMember;

import java.lang.annotation.Annotation;

class ValidationError extends Exception {

    private static final long serialVersionUID = 3176511008672645574L;

    public ValidationError(FrameworkMember member, Class annotation, String suffix) {
        super(String.format("The @%s '%s' %s", annotation.getSimpleName(), member.getName(), suffix));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy