The same as: #576
But by then only the doc had changed: #578
In my opinion this is not very user friendly. If I bother to throw a ResponseErrorException, it should be propagated even if it is thrown when the method is called and not only when the CompletableFuture is executed.
As an example, we do check some context stuff that is only available as a ThreadLocal and not while the CompletableFuture is executed.
There is also an open source example on eclpse-gslp that does this incorrectly. See DefaultGLSPServer
The same as: #576
But by then only the doc had changed: #578
In my opinion this is not very user friendly. If I bother to throw a
ResponseErrorException, it should be propagated even if it is thrown when the method is called and not only when theCompletableFutureis executed.As an example, we do check some context stuff that is only available as a
ThreadLocaland not while theCompletableFutureis executed.There is also an open source example on eclpse-gslp that does this incorrectly. See DefaultGLSPServer