Package africa.absa.inception.security
Class ExistingPasswordException
java.lang.Object
java.lang.Throwable
java.lang.Exception
africa.absa.inception.core.service.ServiceException
africa.absa.inception.security.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:
-
Constructor Summary
ConstructorsConstructorDescriptionExistingPasswordException(String username) Constructs a new ExistingPasswordException. -
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
-
ExistingPasswordException
Constructs a new ExistingPasswordException.- Parameters:
username- the username for the user
-