public class InvalidCredentialException extends ConnectorSecurityException
Connector
throws this exception if the user entered an
incorrect password.
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.
FailedLoginException
,
Serialized FormConstructor and Description |
---|
InvalidCredentialException() |
InvalidCredentialException(String message) |
InvalidCredentialException(String message,
Throwable ex) |
InvalidCredentialException(Throwable ex) |
rethrow, wrap
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidCredentialException()
ConnectorException()
public InvalidCredentialException(String message)
ConnectorException(String)
public InvalidCredentialException(Throwable ex)
ConnectorException(Throwable)
public InvalidCredentialException(String message, Throwable ex)
ConnectorException(String, Throwable)
Copyright © 2022. All rights reserved.