Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 8.6

FEATURE

Trapping for Errors

An introduction to REALbasic exceptions and traps

Issue: 8.6 (September/October 2010)
Author: JC Cruz
Author Bio: JC is a freelance technical writer living quietly in British Columbia. His articles have appeared in various publications, which includes MacTech and Python Magazine. He is also a loving uncle to his foster nephew. To contact JC, send your messages to anarakisware@gmail.com.
Article Description: No description available.
Article Length (in bytes): 55,210
Starting Page Number: 44
Article Number: 8609
Resource File(s):

Download Icon 8609.zip Updated: 2010-09-02 08:14:02

Related Web Link(s):

http://www.rbdeveloper.com/browse/8.6/8609/
http://c2.com/doc/oopsla89/paper.html
http://www.methodsandtools.com/archive/archive.php?id=24
http://java.sun.com/developer/technicalArticles/Programming/exceptions/
http://java.sun.com/developer/technicalArticles/Programming/exceptions2/index.html
http://en.wikipedia.org/wiki/Setjmp.h
http://en.wikipedia.org/wiki/Exception_handling_syntax
http://en.wikipedia.org/wiki/Exception_handling

Excerpt of article text...

Error handling is a must for any software product slated for public use. So in today's article, we will explore how to detect and deal with code errors in a REALbasic project. We will learn how to package an error as an exception, and how to trap it at run time. And we will study how our error traps interact with each other and with the main process thread.

So sit back, relax, and have your mug of warm brew within reach.

When Errors Occur

...End of Excerpt. Please purchase the magazine to read the full article.