public class MaxAttemptsReachedException extends AgqlRuntimeException
MaxAttemptsReachedException class.
Constructor and Description |
---|
MaxAttemptsReachedException(Throwable cause,
InetSocketAddress remoteAddress,
AbstractRequest request,
int attemptCount,
int maxAttemptCount)
Constructor for MaxAttemptsReachedException.
|
Modifier and Type | Method and Description |
---|---|
int |
getAttemptCount()
Getter for the field
attemptCount . |
int |
getMaxAttemptCount()
Getter for the field
maxAttemptCount . |
InetSocketAddress |
getRemoteAddress()
Getter for the field
remoteAddress . |
AbstractRequest |
getRequest()
Getter for the field
request . |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MaxAttemptsReachedException(Throwable cause, InetSocketAddress remoteAddress, AbstractRequest request, int attemptCount, int maxAttemptCount)
Constructor for MaxAttemptsReachedException.
cause
- a Throwable
objectremoteAddress
- a InetSocketAddress
objectrequest
- a AbstractRequest
objectattemptCount
- a intmaxAttemptCount
- a intpublic InetSocketAddress getRemoteAddress()
Getter for the field remoteAddress
.
InetSocketAddress
objectpublic AbstractRequest getRequest()
Getter for the field request
.
AbstractRequest
objectpublic int getAttemptCount()
Getter for the field attemptCount
.
public int getMaxAttemptCount()
Getter for the field maxAttemptCount
.
Copyright © 2016–2024. All rights reserved.