Class DuplicateTenantException

java.lang.Object
java.lang.Throwable
java.lang.Exception
africa.absa.inception.core.service.ServiceException
africa.absa.inception.security.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:
  • Constructor Details

    • 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 ID for the tenant