home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / programm / 15506 < prev    next >
Encoding:
Text File  |  1992-09-15  |  1.2 KB  |  28 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!gatech!utkcs2!utkux1.utk.edu!danny@utkux1.utk.edu
  3. From: danny@utkux1.utk.edu (Danny W. McCampbell)
  4. Subject: Error Checking Question?
  5. Message-ID: <1992Sep14.141356.3911@utkux1.utk.edu>
  6. Sender: usenet@utkux1.utk.edu (USENET News System)
  7. Organization: University of Tennessee
  8. Date: Mon, 14 Sep 1992 14:13:56 GMT
  9. Lines: 17
  10.  
  11. Can someone give me a really detailed report on error checking.
  12. I know that it would be good practice to error check everything.
  13. The question is what do you do in situations where an error 
  14. occurs but your program is able to continue?  Kinda crippled though.
  15. I mean for instance what should you do if your program is setup
  16. to handle appleevents and when you intialize the AppleEvents an
  17. error occurs.  The program will still operate all right with
  18. out them installed, but the AE being present just adds a little bit
  19. more functionality to the program such as when the user issues
  20. a ShutDown command from the finder then the App will recieve a 
  21. QuitApp command.  Since the app failed to initialize the AE then
  22. it would just sit there waiting for the user to manually quit the
  23. app so the computer could continue to shutdown.  Any ideas and
  24. suggestions would be greatly appreciated.
  25.  
  26. Thanks
  27. Danny
  28.