yada

guliy 2018-08-31T07:39:12.000100Z

Hi there, can I interrupt the interceptors chain and pass the execution to the errors interceptor chain without throwing an error? my interceptor checks the user input and I want to pass the execution to another chain when an error occurs. But I do not want to call a laborious throw. any suggestions?

dominicm 2018-08-31T08:04:32.000100Z

Why is it laborious to throw?

guliy 2018-08-31T08:25:14.000100Z

there is an opinion that java throw exception is a heavy operation. And this is a potential attack vector on the service. Make sense?

dominicm 2018-08-31T08:26:48.000100Z

I would suspect that it's not sufficiently expensive to be an avenue for DOS, but I have nothing to back that up besides its prevalence.

malcolmsparks 2018-08-31T08:32:10.000100Z

Java exceptions used to be expensive to throw, on much older JVMs.

guliy 2018-08-31T08:43:26.000100Z

You mean don’t worry about it?

malcolmsparks 2018-08-31T09:09:20.000100Z

I wouldn't worry about it for performance reasons no

guliy 2018-08-31T09:21:10.000100Z

Thanks!