Skip to content

Commit 4ba7899

Browse files
author
Daniel Kroening
committed
catch more exceptions
1 parent 92e07ee commit 4ba7899

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/symex/symex_parse_options.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,16 @@ int symex_parse_optionst::doit()
142142
{
143143
goto_model=initialize_goto_model(cmdline, get_message_handler());
144144
}
145+
catch(const std::string error_msg)
146+
{
147+
error() << error_msg << messaget::eom;
148+
return 6;
149+
}
150+
catch(const char *error_msg)
151+
{
152+
error() << error_msg << messaget::eom;
153+
return 6;
154+
}
145155
catch(...)
146156
{
147157
return 6;

0 commit comments

Comments
 (0)