public class InvalidCredentialException extends CrowdException
Constructor and Description |
---|
InvalidCredentialException() |
InvalidCredentialException(String message) |
InvalidCredentialException(String genericMessage,
String policyDescription,
Collection<PasswordConstraint> violatedConstraints)
Use this constructor when you can identify a specific policy that has been violated.
|
InvalidCredentialException(String message,
Throwable cause) |
InvalidCredentialException(Throwable throwable)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getPolicyDescription() |
Collection<PasswordConstraint> |
getViolatedConstraints() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidCredentialException()
public InvalidCredentialException(String message)
public InvalidCredentialException(String genericMessage, @Nullable String policyDescription, Collection<PasswordConstraint> violatedConstraints)
genericMessage
- a general message describing how this exception happenedpolicyDescription
- a message describing the policy that has been violatedviolatedConstraints
- a list of which constraints were violated to cause the failure@Nullable public String getPolicyDescription()
Throwable.getMessage()
for a general
description of the exception.@Nullable public Collection<PasswordConstraint> getViolatedConstraints()
Copyright © 2021 Atlassian. All rights reserved.