use runtimeException instead of HttpInvalidArgument one