Package ratpack.test.handling
Class HandlerTimeoutException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- ratpack.test.handling.HandlerTimeoutException
-
- All Implemented Interfaces:
Serializable
public class HandlerTimeoutException extends RuntimeException
Thrown when a handler under test takes too long to produce a result.- See Also:
RequestFixture.handle(Handler)
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HandlerTimeoutException(HandlingResult handlingResult, int timeoutSecs)
Constructor.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
HandlerTimeoutException
public HandlerTimeoutException(HandlingResult handlingResult, int timeoutSecs)
Constructor.- Parameters:
handlingResult
- the handling result at the time of the timeouttimeoutSecs
- the allowed time in seconds
-
-