File tree Expand file tree Collapse file tree 1 file changed +3
-51
lines changed Expand file tree Collapse file tree 1 file changed +3
-51
lines changed Original file line number Diff line number Diff line change @@ -396,29 +396,8 @@ int goto_analyzer_parse_optionst::doit()
396
396
397
397
register_languages ();
398
398
399
- try
400
- {
401
- goto_model =
402
- initialize_goto_model (cmdline.args , get_message_handler (), options);
403
- }
404
-
405
- catch (const char *e)
406
- {
407
- error () << e << eom;
408
- return CPROVER_EXIT_EXCEPTION;
409
- }
410
-
411
- catch (const std::string &e)
412
- {
413
- error () << e << eom;
414
- return CPROVER_EXIT_EXCEPTION;
415
- }
416
-
417
- catch (int e)
418
- {
419
- error () << " Numeric exception: " << e << eom;
420
- return CPROVER_EXIT_EXCEPTION;
421
- }
399
+ goto_model =
400
+ initialize_goto_model (cmdline.args , get_message_handler (), options);
422
401
423
402
if (process_goto_program (options))
424
403
return CPROVER_EXIT_INTERNAL_ERROR;
@@ -448,34 +427,7 @@ int goto_analyzer_parse_optionst::doit()
448
427
return CPROVER_EXIT_SUCCESS;
449
428
}
450
429
451
- try
452
- {
453
- return perform_analysis (options);
454
- }
455
-
456
- catch (const char *e)
457
- {
458
- error () << e << eom;
459
- return CPROVER_EXIT_EXCEPTION;
460
- }
461
-
462
- catch (const std::string &e)
463
- {
464
- error () << e << eom;
465
- return CPROVER_EXIT_EXCEPTION;
466
- }
467
-
468
- catch (int e)
469
- {
470
- error () << " Numeric exception: " << e << eom;
471
- return CPROVER_EXIT_EXCEPTION;
472
- }
473
-
474
- catch (const std::bad_alloc &)
475
- {
476
- error () << " Out of memory" << eom;
477
- return CPROVER_EXIT_INTERNAL_OUT_OF_MEMORY;
478
- }
430
+ return perform_analysis (options);
479
431
}
480
432
481
433
You can’t perform that action at this time.
0 commit comments