Class ExistingPasswordException

  • All Implemented Interfaces:
    Serializable

    public class ExistingPasswordException
    extends africa.absa.inception.core.service.ServiceException
    An ExistingPasswordException is thrown to indicate that a security operation failed as a result of an existing password e.g. when attempting to change a user's password using a password that forms part of the user's password history.

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

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

      • ExistingPasswordException

        public ExistingPasswordException​(String username)
        Constructs a new ExistingPasswordException.
        Parameters:
        username - the username for the user