Rethrow MalformedUrlException as a RuntimeException (we don't expect it). All other errors will be passed to error handler.