Class DuplicateUserDirectoryException

java.lang.Object
java.lang.Throwable
java.lang.Exception
africa.absa.inception.core.service.ServiceException
africa.absa.inception.security.DuplicateUserDirectoryException
All Implemented Interfaces:
Serializable

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

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

Author:
Marcus Portmann
See Also:
  • Constructor Details

    • DuplicateUserDirectoryException

      public DuplicateUserDirectoryException(String name)
      Constructs a new DuplicateUserDirectoryException.
      Parameters:
      name - the name of the user directory
    • DuplicateUserDirectoryException

      public DuplicateUserDirectoryException(UUID userDirectoryId)
      Constructs a new DuplicateUserDirectoryException.
      Parameters:
      userDirectoryId - the ID for the user directory