Class NotAuthorizedException

All Implemented Interfaces:
Serializable

public class NotAuthorizedException extends TaskanaException
This exception is thrown when the current user is not in a certain role it is supposed to be.
See Also:
  • Field Details

  • Constructor Details

    • NotAuthorizedException

      public NotAuthorizedException(String currentUserId, TaskanaRole... roles)
  • Method Details

    • getRoles

      public TaskanaRole[] getRoles()
    • getCurrentUserId

      public String getCurrentUserId()