Package io.vertx.core.http
Class ConnectionPoolTooBusyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.vertx.core.VertxException
-
- io.vertx.core.http.ConnectionPoolTooBusyException
-
- All Implemented Interfaces:
Serializable
public class ConnectionPoolTooBusyException extends VertxException
Represents a failure to add a HttpClientRequest to the wait queue on an ConnectionManager.If an HttpClient receives a request but is already handling maxPoolSize requests it will attempt to put the new request on it's wait queue. If the maxWaitQueueSize is set and the new request would cause the wait queue to exceed that size then the request will receive this exception.
- Author:
- Gil Markham, Junbo Wang
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConnectionPoolTooBusyException(String message)
Create a ConnectionPoolTooBusyException
-
Method Summary
-
Methods inherited from class io.vertx.core.VertxException
noStackTrace, noStackTrace, noStackTrace
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ConnectionPoolTooBusyException
public ConnectionPoolTooBusyException(String message)
Create a ConnectionPoolTooBusyException- Parameters:
message
- the failure message
-
-