Class RoleNotFoundException

  • All Implemented Interfaces:
    Serializable

    public class RoleNotFoundException
    extends africa.absa.inception.core.service.ServiceException
    A RoleNotFoundException is thrown to indicate that a security operation failed as a result of a role that could not be found.

    This is a checked exception to prevent the automatic rollback of the current transaction.

    Author:
    Marcus Portmann
    See Also:
    Serialized Form
    • Constructor Detail

      • RoleNotFoundException

        public RoleNotFoundException​(String roleCode)
        Constructs a new RoleNotFoundException.
        Parameters:
        roleCode - the code for the role