Class InsufficientAccessRightsException

Object
Throwable
Exception
InsufficientAccessRightsException
All Implemented Interfaces:
Serializable

class InsufficientAccessRightsException extends Exception
This exception should be thrown when a restricted method is called while the logged in user is unauthorized to perform said action. Certain roles such as HDB Manager, holds the right to perform actions such as creating of a new project. If an Applicant were to be able to call such a method, as they are not authorized, this exception should be thrown. This exception is intended to highlight the severity of an access right violation, for detection of such issues when testing.
  • Constructor Details

    • InsufficientAccessRightsException

      InsufficientAccessRightsException()
      Construct the exception.