Readability of exception handling

Parker Jones <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
Hello all,

I am trying to write some exception handling code that is readable but it always looks unnecessarily complicated.  Could someone point me to some code examples of exception handling that are elegant?  All the examples I have come across, apart from the very simplest cases, look like a submission to an obfuscation contest.

Also, is there a reason Prolog textbooks avoid covering exception handling?

Thanks for any suggestions,
Parker
 		 	   		  
-------------- next part --------------
HTML attachment scrubbed and removed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.