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.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 Summary
ConstructorsConstructorDescriptionConstructs a new DuplicateTenantException.DuplicateTenantException(UUID tenantId) Constructs a new DuplicateTenantException. -
Method Summary
Methods inherited from class africa.absa.inception.core.service.ServiceException
getFaultInfo, getTimestampMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DuplicateTenantException
Constructs a new DuplicateTenantException.- Parameters:
name- the name of the tenant
-
DuplicateTenantException
Constructs a new DuplicateTenantException.- Parameters:
tenantId- the ID for the tenant
-