org.crazycake.shiro.exception.PrincipalIdNullException Maven / Gradle / Ivy
package org.crazycake.shiro.exception;
public class PrincipalIdNullException extends RuntimeException {
private static final String MESSAGE = "Principal Id shouldn't be null!";
public PrincipalIdNullException(Class clazz, String idMethodName) {
super(clazz + " id field: " + idMethodName + ", value is null\n" + MESSAGE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy