Bug 1135613
| Summary: | New exception TransactionUnknown in C++ and python APIs. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Alan Conway <aconway> |
| Component: | Messaging_Programming_Reference | Assignee: | mmurray |
| Status: | CLOSED WONTFIX | QA Contact: | Eric Sammons <esammons> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.0 | CC: | mmurray |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-03-03 23:13:03 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Alan Conway
2014-08-29 19:20:01 UTC
I've done a quick search in the Programming Reference Guide for "TransactionError" and have found two mentions in http://docbuilder.usersys.redhat.com/19948/#C_Messaging_Exceptions_Reference This reference only seems to be applicable for C++ though, and not Python. There is currently nowhere obvious to me in the guide where the info for Python could go. For "TransactionAborted" I found one reference in the link above, plus another in http://docbuilder.usersys.redhat.com/19948/#Session_Exceptions (In reply to Jared MORGAN from comment #1) > I've done a quick search in the Programming Reference Guide for > "TransactionError" and have found two mentions in > http://docbuilder.usersys.redhat.com/19948/#C_Messaging_Exceptions_Reference > This reference only seems to be applicable for C++ though, and not Python. > There is currently nowhere obvious to me in the guide where the info for > Python could go. > > For "TransactionAborted" I found one reference in the link above, plus > another in http://docbuilder.usersys.redhat.com/19948/#Session_Exceptions Thank you for update. * The key here is to add TransactionUnknown exception, TransactionError and TransactionAborted are in already in * Two mentions of TransactionError are ok (including places) * one as base class from SessionError * one as parent of TransactionAborted * One place for TransactionAborted is also ok * TransactionUnknown should go just after TransactionAborted with wording suggested above by Alan * There is currently no python Exception list/reference and would be not wise/doable to create at this moment. I'll open separate defect for that. Which means Inclusion of C++ exception is enough. Need of python exception reference is now tracked separately as bug 1138199. (In reply to Frantisek Reznicek from comment #2) > (In reply to Jared MORGAN from comment #1) > > I've done a quick search in the Programming Reference Guide for > > "TransactionError" and have found two mentions in > > http://docbuilder.usersys.redhat.com/19948/#C_Messaging_Exceptions_Reference > > This reference only seems to be applicable for C++ though, and not Python. > > There is currently nowhere obvious to me in the guide where the info for > > Python could go. > > > > For "TransactionAborted" I found one reference in the link above, plus > > another in http://docbuilder.usersys.redhat.com/19948/#Session_Exceptions > > Thank you for update. > > * The key here is to add TransactionUnknown exception, TransactionError and > TransactionAborted are in already in > * Two mentions of TransactionError are ok (including places) > * one as base class from SessionError > * one as parent of TransactionAborted > * One place for TransactionAborted is also ok > * TransactionUnknown should go just after TransactionAborted with wording > suggested above by Alan > > * There is currently no python Exception list/reference and would be not > wise/doable to create at this moment. I'll open separate defect for that. > Which means Inclusion of C++ exception is enough. Thanks for the guidance on this Frantisek. http://docbuilder.usersys.redhat.com/19948/#C_Messaging_Exceptions_Reference shows the TransactionUnknown exception declared as you specified. Only minor changes to wording provided by Alan. Thank you for the change, the content is ok. -> VERIFIED |