trunk/src/tools/unidasm.c
| r31996 | r31997 | |
| 644 | 644 | catch (emu_fatalerror &fatal) |
| 645 | 645 | { |
| 646 | 646 | fprintf(stderr, "%s\n", fatal.string()); |
| 647 | result = 1; |
| 647 | 648 | if (fatal.exitcode() != 0) |
| 648 | 649 | result = fatal.exitcode(); |
| 649 | 650 | } |
| 650 | 651 | catch (emu_exception &) |
| 651 | 652 | { |
| 652 | 653 | fprintf(stderr, "Caught unhandled emulator exception\n"); |
| 654 | result = 1; |
| 653 | 655 | } |
| 654 | | catch (std::bad_alloc &) |
| 656 | catch (add_exception &aex) |
| 655 | 657 | { |
| 656 | | fprintf(stderr, "Out of memory!\n"); |
| 658 | fprintf(stderr, "Tag '%s' already exists in tagged_list\n", aex.tag()); |
| 659 | result = 1; |
| 657 | 660 | } |
| 661 | catch (std::exception &ex) |
| 662 | { |
| 663 | fprintf(stderr, "Caught unhandled %s exception: %s\n", typeid(ex).name(), ex.what()); |
| 664 | result = 1; |
| 665 | } |
| 658 | 666 | catch (...) |
| 659 | 667 | { |
| 660 | 668 | fprintf(stderr, "Caught unhandled exception\n"); |
| 669 | result = 1; |
| 661 | 670 | } |
| 662 | 671 | |
| 663 | 672 | osd_free(data); |
trunk/src/emu/clifront.c
| r31996 | r31997 | |
| 274 | 274 | osd_printf_error("Caught unhandled emulator exception\n"); |
| 275 | 275 | m_result = MAMERR_FATALERROR; |
| 276 | 276 | } |
| 277 | catch (add_exception &aex) |
| 278 | { |
| 279 | osd_printf_error("Tag '%s' already exists in tagged_list\n", aex.tag()); |
| 280 | m_result = MAMERR_FATALERROR; |
| 281 | } |
| 277 | 282 | catch (std::exception &ex) |
| 278 | 283 | { |
| 279 | 284 | osd_printf_error("Caught unhandled %s exception: %s\n", typeid(ex).name(), ex.what()); |
trunk/src/emu/machine.c
| r31996 | r31997 | |
| 414 | 414 | osd_printf_error("Error performing a late bind of type %s to %s\n", btex.m_actual_type.name(), btex.m_target_type.name()); |
| 415 | 415 | error = MAMERR_FATALERROR; |
| 416 | 416 | } |
| 417 | catch (add_exception &aex) |
| 418 | { |
| 419 | osd_printf_error("Tag '%s' already exists in tagged_list\n", aex.tag()); |
| 420 | error = MAMERR_FATALERROR; |
| 421 | } |
| 417 | 422 | catch (std::exception &ex) |
| 418 | 423 | { |
| 419 | 424 | osd_printf_error("Caught unhandled %s exception: %s\n", typeid(ex).name(), ex.what()); |