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-junit4 Show documentation
Show all versions of archunit-junit4 Show documentation
A Java architecture test library, to specify and assert architecture rules in plain Java - Module 'archunit-junit4'
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);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy