Top Description Fields Constructors
org.apache.hc.client5.http.auth

public Class InvalidCredentialsException

extends AuthenticationException
Class Inheritance

Authentication credentials required to respond to a authentication challenge are invalid
Since
4.0

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
InvalidCredentialsException()

Creates a new InvalidCredentialsException with a null detail message.

public
InvalidCredentialsException(final String
the exception detail message
message
)

Creates a new InvalidCredentialsException with the specified message.

public
InvalidCredentialsException(final String
the exception detail message
message
,
final Throwable
the Throwable that caused this exception, or null if the cause is unavailable, unknown, or not a Throwable
cause
)

Creates a new InvalidCredentialsException with the specified detail message and cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.apache.hc.client5.http.auth.AuthenticationException.serialVersionUID.

Constructor Detail

InvalidCredentialsExceptionback to summary
public InvalidCredentialsException()

Creates a new InvalidCredentialsException with a null detail message.

InvalidCredentialsExceptionback to summary
public InvalidCredentialsException(final String message)

Creates a new InvalidCredentialsException with the specified message.

Parameters
message:String

the exception detail message

InvalidCredentialsExceptionback to summary
public InvalidCredentialsException(final String message, final Throwable cause)

Creates a new InvalidCredentialsException with the specified detail message and cause.

Parameters
message:String

the exception detail message

cause:Throwable

the Throwable that caused this exception, or null if the cause is unavailable, unknown, or not a Throwable