net.optionfactory.spring.pem.der.DerException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pem Show documentation
Show all versions of pem Show documentation
optionfactory-spring pem and pem keystore
package net.optionfactory.spring.pem.der;
public class DerException extends RuntimeException {
public DerException(Throwable cause) {
super(cause);
}
public DerException(String reason) {
super(reason);
}
public static void ensure(boolean test, String message, Object... values) {
if (test) {
return;
}
throw new DerException(String.format(message, values));
}
}