Conclusion

We have tried to document the XBRA protocol, and to illustrate its usage with some typical code segments. Of course, your application may vary in many details. The XBRA protocol does a good job of reliably locating handlers in an exception chain and properly installing and removing them from the chain. A complete example is presented in Appendix A. The xbra.h include file from the GNUC library is presented in Appendix B.