Package africa.absa.inception.security
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.ServiceExceptionA 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 Summary
Constructors Constructor Description DuplicateTenantException(String name)Constructs a new DuplicateTenantException.DuplicateTenantException(UUID tenantId)Constructs a new DuplicateTenantException.
-
Method Summary
-
Methods inherited from class africa.absa.inception.core.service.ServiceException
getFaultInfo, getTimestamp
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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
-
-