Package com.linecorp.centraldogma.common
Class TooManyRequestsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.linecorp.centraldogma.common.CentralDogmaException
com.linecorp.centraldogma.common.TooManyRequestsException
- All Implemented Interfaces:
Serializable
A
CentralDogmaException
that is raised when a client is attempting to send requests more than
quota limits.- See Also:
-
Constructor Summary
ModifierConstructorDescriptionCreates a new instance.TooManyRequestsException
(String message) Creates a new instance.TooManyRequestsException
(String message, boolean writableStackTrace) Creates a new instance.TooManyRequestsException
(String type, String path, double permitsPerSecond) Creates a new instance.TooManyRequestsException
(String message, Throwable cause) Creates a new instance.protected
TooManyRequestsException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a new instance.Creates a new instance. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TooManyRequestsException
public TooManyRequestsException()Creates a new instance. -
TooManyRequestsException
Creates a new instance. -
TooManyRequestsException
Creates a new instance. -
TooManyRequestsException
Creates a new instance. -
TooManyRequestsException
Creates a new instance. -
TooManyRequestsException
Creates a new instance.- Parameters:
message
- the detail messagewritableStackTrace
- whether or not the stack trace should be writable
-
TooManyRequestsException
protected TooManyRequestsException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a new instance.
-
-
Method Details
-
type
Returns thetype
specified when creating thisException
.
-