public class AuthenticationException extends RuntimeException
The only time when this is returned directly to the client (wrapped in a AllNodesFailedException
) is at initialization. If it happens later when the driver is already
connected, it is just logged and the connection will be reattempted.
Constructor and Description |
---|
AuthenticationException(EndPoint endPoint,
String message) |
AuthenticationException(EndPoint endPoint,
String message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
EndPoint |
getEndPoint()
The address of the node that encountered the error.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2017–2024. All rights reserved.