Class AsyncRequestTimeoutException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.web.context.request.async.AsyncRequestTimeoutException
- All Implemented Interfaces:
Serializable
public class AsyncRequestTimeoutException extends RuntimeException
Exception to be thrown when an async request times out. Alternatively an applications can register aDeferredResultProcessingInterceptor
or aCallableProcessingInterceptor
to handle the timeout through the MVC Java config or the MVC XML namespace or directly through properties of theRequestMappingHandlerAdapter
.By default the exception will be handled as a 503 error.
- Since:
- 4.2.8
- Author:
- Rossen Stoyanchev
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description AsyncRequestTimeoutException()
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Detail
AsyncRequestTimeoutException
public AsyncRequestTimeoutException()