Module org.apache.wicket.core
Package org.apache.wicket.authorization
Class UnauthorizedActionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.wicket.WicketRuntimeException
org.apache.wicket.authorization.AuthorizationException
org.apache.wicket.authorization.UnauthorizedActionException
- All Implemented Interfaces:
Serializable
Exception that is thrown when an action is not authorized.
- Author:
- Jonathan Locke, Eelco Hillenius
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnauthorizedActionException
Construct.- Parameters:
component
- The component that caused the unauthorized exceptionaction
- The action
-
-
Method Details
-
getAction
- Returns:
- The action that was forbidden
-
getComponent
- Returns:
- The component that caused the unauthorized exception
-