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:
java.io.Serializable
public class HandlerTimeoutException extends java.lang.RuntimeException
Thrown when a handler under test takes too long to produce a result.
-
-
Constructor Summary
Constructors Constructor Description HandlerTimeoutException(HandlingResult handlingResult, int timeoutSecs)
Constructor.
-
-
-
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
-
-