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

public Class AuthenticationException

extends ProtocolException
Class Inheritance
Known Direct Subclasses
org.apache.hc.client5.http.auth.InvalidCredentialsException, org.apache.hc.client5.http.impl.auth.NTLMEngineException
Imports
org.apache.hc.core5.http.ProtocolException

Signals a failure in authentication process
Since
4.0

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
AuthenticationException()

Creates a new AuthenticationException with a null detail message.

public
AuthenticationException(final String
the exception detail message
message
)

Creates a new AuthenticationException with the specified message.

public
AuthenticationException(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 AuthenticationException with the specified detail message and cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.apache.hc.core5.http.ProtocolException.serialVersionUID.

Constructor Detail

AuthenticationExceptionback to summary
public AuthenticationException()

Creates a new AuthenticationException with a null detail message.

AuthenticationExceptionback to summary
public AuthenticationException(final String message)

Creates a new AuthenticationException with the specified message.

Parameters
message:String

the exception detail message

AuthenticationExceptionback to summary
public AuthenticationException(final String message, final Throwable cause)

Creates a new AuthenticationException 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