Package org.codelibs.fess.exception
Class UserRoleLoginException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.codelibs.fess.exception.UserRoleLoginException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionUserRoleLoginException(Class<? extends RootAction> actionClass) Constructs a new UserRoleLoginException with the specified action class. -
Method Summary
Modifier and TypeMethodDescriptionOverrides fillInStackTrace to return null for performance optimization.Class<? extends RootAction> Gets the action class associated with this exception.Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UserRoleLoginException
Constructs a new UserRoleLoginException with the specified action class.- Parameters:
actionClass- the action class that requires specific user roles
-
-
Method Details
-
getActionClass
Gets the action class associated with this exception.- Returns:
- the action class that requires specific user roles
-
fillInStackTrace
Overrides fillInStackTrace to return null for performance optimization. This prevents stack trace generation for this exception type.- Overrides:
fillInStackTracein classThrowable- Returns:
- null to skip stack trace generation
-