Class UnauthorizedActionException

All Implemented Interfaces:
Serializable

Exception that is thrown when an action is not authorized.
Author:
Jonathan Locke, Eelco Hillenius
See Also:
  • Constructor Details

    • UnauthorizedActionException

      public UnauthorizedActionException(Component component, Action action)
      Construct.
      Parameters:
      component - The component that caused the unauthorized exception
      action - The action
  • Method Details

    • getAction

      public Action getAction()
      Returns:
      The action that was forbidden
    • getComponent

      Returns:
      The component that caused the unauthorized exception