OpenSearch/elasticsearch/x-pack/license-plugin
Jason Tedor 1cd53c41e2 Do not catch throwable
Today throughout the codebase, catch throwable is used with reckless
abandon. This is dangerous because the throwable could be a fatal
virtual machine error resulting from an internal error in the JVM, or an
out of memory error or a stack overflow error that leaves the virtual
machine in an unstable and unpredictable state. This commit removes
catch throwable from the codebase and removes the temptation to use it
by modifying listener APIs to receive instances of Exception instead of
the top-level Throwable.

Relates elastic/elasticsearch#2694

Original commit: elastic/x-pack-elasticsearch@7ecdd7d978
2016-07-04 08:41:08 -04:00
..
keys Moved shield, watcher, marvel and license plugin into common x-pack 2015-12-03 16:24:40 +01:00
src Do not catch throwable 2016-07-04 08:41:08 -04:00
.gitignore Moved shield, watcher, marvel and license plugin into common x-pack 2015-12-03 16:24:40 +01:00