Changeset 15 for trunk/src/helpers/except.c
- Timestamp:
- Dec 11, 2000, 8:54:20 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/except.c
r14 r15 516 516 { 517 517 case XCPT_ACCESS_VIOLATION: 518 {519 518 fprintf(file, "\nXCPT_ACCESS_VIOLATION: "); 520 519 if (pReportRec->ExceptionInfo[0] & XCPT_READ_ACCESS) … … 538 537 " confusion with administering memory or error conditions \n" 539 538 " were not properly checked for.\n"); 540 break; 541 } 539 break; 542 540 543 541 case XCPT_INTEGER_DIVIDE_BY_ZERO: 544 {545 542 fprintf(file, "\nXCPT_INTEGER_DIVIDE_BY_ZERO.\n"); 546 543 fprintf(file, 547 544 "Explanation: An attempt was made to divide an integer value by zero,\n" 548 545 " which is not defined.\n"); 549 break; 550 } 546 break; 551 547 552 548 case XCPT_ILLEGAL_INSTRUCTION: 553 {554 549 fprintf(file, "\nXCPT_ILLEGAL_INSTRUCTION.\n"); 555 550 fprintf(file, 556 551 "Explanation: An attempt was made to execute an instruction that\n" 557 552 " is not defined on this machine's architecture.\n"); 558 break; 559 } 553 break; 560 554 561 555 case XCPT_PRIVILEGED_INSTRUCTION: 562 {563 556 fprintf(file, "\nXCPT_PRIVILEGED_INSTRUCTION.\n"); 564 557 fprintf(file, … … 566 559 " is not permitted in the current machine mode or that\n" 567 560 " XFolder had no permission to execute.\n"); 568 break; 569 } 561 break; 570 562 571 563 case XCPT_INTEGER_OVERFLOW: … … 575 567 " significant bit. This is a sign of an attempt to store\n" 576 568 " a value which does not fit into an integer variable.\n"); 569 break; 577 570 578 571 default: 579 572 fprintf(file, "\nUnknown OS/2 exception number %d.\n", pReportRec->ExceptionNum); 580 573 fprintf(file, "Look this up in the OS/2 header files.\n"); 574 break; 581 575 } 582 576
Note:
See TracChangeset
for help on using the changeset viewer.