Class InvalidPasswordException

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    PasswordExpiredException

    public class InvalidPasswordException
    extends InvalidCredentialException
    Thrown when a password credential is invalid.

    This exception should be used only when incorrect password is entered by a user. It should NOT be used in case that connection to the resource cannot be established because connection password is wrong. Use ConnectionFailedException instead.

    This exception should be used only when incorrect credential is entered by a user, for example in authenticate() method. It should NOT be used in case that connection to the resource cannot be established because connection credentials are wrong. Use ConnectionFailedException instead.

    Note: Since framework version 1.5.0.0 it is recommended to use InvalidAttributeValueException in case that credential change operation failed. Please indicate credential as an affected attribute in the exception.

    See Also:
    CredentialException, Serialized Form