Class UserRoleLoginException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.codelibs.fess.exception.UserRoleLoginException
All Implemented Interfaces:
Serializable

public class UserRoleLoginException extends RuntimeException
Exception thrown when user role authentication fails during login attempts. This exception is used to indicate that a user does not have the required role to access a specific action or resource.
See Also:
  • Constructor Details

    • UserRoleLoginException

      public UserRoleLoginException(Class<? extends RootAction> actionClass)
      Constructs a new UserRoleLoginException with the specified action class.
      Parameters:
      actionClass - the action class that requires specific user roles
  • Method Details

    • getActionClass

      public Class<? extends RootAction> getActionClass()
      Gets the action class associated with this exception.
      Returns:
      the action class that requires specific user roles
    • fillInStackTrace

      public Throwable fillInStackTrace()
      Overrides fillInStackTrace to return null for performance optimization. This prevents stack trace generation for this exception type.
      Overrides:
      fillInStackTrace in class Throwable
      Returns:
      null to skip stack trace generation