commit | 3317c4df9aa56470731d3fb46ed8330fb8169e15 | [log] [tgz] |
---|---|---|
author | Klaus Aehlig <aehlig@google.com> | Fri Mar 22 02:42:41 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Mar 22 02:44:31 2019 -0700 |
tree | 9af73164bcf063c6bcfaab18c48ded6a19e27621 | |
parent | 9b8c50007a58a8fde06c5d036df3cfe0b71f00a2 [diff] |
Report IllegalArgumentException in URL.openConnection as http error URL.openConnection can throw an IllegalArgumentException, e.g., in the JceSecurityManager. While we cannot fix these exceptions, we can at least report them in a more user-friendly way than an internal stack trace. So catch and throw an exception that is reported as a permanent error attempting to fetch the given URL. Issue #6952. Change-Id: I2bb5d12535d54046e2cf342acabcb28c2066eed7 PiperOrigin-RevId: 239762567
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.