Class DuplicateTenantException

  • All Implemented Interfaces:
    Serializable

    public class DuplicateTenantException
    extends africa.absa.inception.core.service.ServiceException
    A DuplicateTenantException is thrown to indicate that a security operation failed as a result of a duplicate tenant.

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

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

      • DuplicateTenantException

        public DuplicateTenantException​(String name)
        Constructs a new DuplicateTenantException.
        Parameters:
        name - the name of the tenant
      • DuplicateTenantException

        public DuplicateTenantException​(UUID tenantId)
        Constructs a new DuplicateTenantException.
        Parameters:
        tenantId - the Universally Unique Identifier (UUID) for the tenant