Title: | DECmcc user notes file. Does not replace IPMT. |
Notice: | Use IPMT for problems. Newsletter location in note 6187 |
Moderator: | TAEC::BEROUD |
Created: | Mon Aug 21 1989 |
Last Modified: | Wed Jun 04 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 6497 |
Total number of notes: | 27359 |
I'm having a little trouble determining just how to comply with the MCC error model and exception handling. I can find only two notes on the subject using keywords and searching the notes file (see I did my best). I have been trying to find a list of the common exceptions and a guideline as to when they should be used. I have found the MCC_COMMON_DEFINITIONS.H but there are no comments that would indicate the meaning of each error code and when to use it. I would also like to see either the MSL for the common exceptions or a description of each argument that may be required. I would suggest that this inform- ation should be include in chapter 8 or an appendix of the SRM. I am further confused as to when to use CVR without building an error reply. The SRM is fairly clear, but the SAMPLE AM does not appear to follow the SRM. I am under the impression that the only errors returned directly in the CVR by an AM might be MCC_S_INSVIRMEM and MCC_S_INVHANDLE. However, the SAMPLE AM returns most errors from MCC routines and the design framework routines, directly in the CVR. I should think that these errors should be returned in a common exception with an reply ID of MCC_K_CANNOT_COMPLETE as recommended in chapter 8 of the SRM. Thanks in advance, Jeff Waltz
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
865.1 | see chapter 15, only return the expected mcc_call_xxx CVRs | TOOK::DITMARS | Pete | Wed Apr 03 1991 11:20 | 8 |
Chapter 15 contains more details on the common exceptions that you can return. I don't know why we don't ship the "common" .MS. It doesn't appear that there's an MRM for the "common" exceptions either. My understanding is that all MMs should only return the CVRs that are listed in chapter 11 for the mcc_call_xxx routine(s). If the sample AM does otherwise, I believe it is in error. | |||||
865.2 | How did I miss it! | ODAY27::WALTZ | Wed Apr 03 1991 12:00 | 6 | |
Thanks Pete! I don't know how I missed chapter 15! It would be nice if there was an index hit somewhere in in 15 for common exceptions (in fact it would be nice if there was an index item for common exceptions). Thanks again! |