com.netgrif.application.engine.impersonation.exceptions.IllegalImpersonationAttemptException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of application-engine Show documentation
Show all versions of application-engine Show documentation
System provides workflow management functions including user, role and data management.
package com.netgrif.application.engine.impersonation.exceptions;
import com.netgrif.application.engine.auth.domain.LoggedUser;
public class IllegalImpersonationAttemptException extends Exception {
public IllegalImpersonationAttemptException(LoggedUser loggedUser, String id) {
super(loggedUser.getFullName() + " cannot impersonate user or config with ID " + id);
}
public IllegalImpersonationAttemptException(String message) {
super(message);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy