com.tngtech.archunit.junit.internal.ArchTestInitializationException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of archunit-junit5-engine Show documentation
Show all versions of archunit-junit5-engine Show documentation
A Java architecture test library, to specify and assert architecture rules in plain Java - Module 'archunit-junit5-engine'
The newest version!
package com.tngtech.archunit.junit.internal;
class ArchTestInitializationException extends RuntimeException {
private ArchTestInitializationException(String message, Object... args) {
super(String.format(message, args));
}
ArchTestInitializationException(Throwable cause) {
super(cause);
}
ArchTestInitializationException(Throwable cause, String message, Object... args) {
super(String.format(message, args), cause);
}
static void check(boolean condition, String message, Object... args) {
if (!condition) {
throw new ArchTestInitializationException(message, args);
}
}
}