This should be a `SQLException`. Make the message more explicit since it is for end users: `"Too many path segments in URL: %s"`