diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-11-06 09:53:14 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-06 12:16:00 +0000 |
commit | 061474017b550398b6c525bb18f0318d6cbe4850 (patch) | |
tree | 46c51dcc5a72103a957835eb44a910e307a9b730 /codemaker | |
parent | d097d86940371fc114292462d3dca95ebf299701 (diff) |
coverity#1338267 Uncaught exception
Change-Id: Id886abbafe7501e17eaae5b2ebf0bd065745c1ad
Diffstat (limited to 'codemaker')
-rw-r--r-- | codemaker/source/javamaker/javamaker.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/codemaker/source/javamaker/javamaker.cxx b/codemaker/source/javamaker/javamaker.cxx index 2e977633108c..b711806a3b55 100644 --- a/codemaker/source/javamaker/javamaker.cxx +++ b/codemaker/source/javamaker/javamaker.cxx @@ -89,7 +89,11 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) { } catch (IllegalArgument & e) { std::cerr << "Illegal option " << e.m_message << '\n'; return EXIT_FAILURE; + } catch (std::exception & e) { + std::cerr << "Failure " << e.what() << '\n'; + return EXIT_FAILURE; } + return EXIT_SUCCESS; } |