unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Exception ...
@ 2003-11-18 13:49 Laurent Marzullo
  2003-11-19 17:16 ` Exception Stephen Compall
  0 siblings, 1 reply; 2+ messages in thread
From: Laurent Marzullo @ 2003-11-18 13:49 UTC (permalink / raw)


Hello,

Thanks to everybody who answer my last question ...

Now, I would like to throw some exception from my code, and
would like to find some example.
Does anyone know where I could find exception examples ?

I do not understant what is 'key' in scm_throw, could someone
explain ?

What do I need to write to define my own exception ?

Thanks



-- 
Laurent Marzullo <marzullo@la-defense.oilfield.slb.com>



_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Exception ...
  2003-11-18 13:49 Exception Laurent Marzullo
@ 2003-11-19 17:16 ` Stephen Compall
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Compall @ 2003-11-19 17:16 UTC (permalink / raw)
  Cc: Guile

Laurent Marzullo <marzullo@la-defense.oilfield.slb.com> writes:

> What do I need to write to define my own exception ?

http://www.gnu.org/software/guile/docs/guile-ref/Exceptions.html#Exceptions

will explain exceptions for you.  Make sure you read the menu items,
rather than just choosing Next:Error Reporting (though you should read
that too, as errors are exceptions with specific semantics, and maybe
the bit about exceptions in C code).  Even better, since you should
have the Info version of the manual installed, just call it up and
start with node Exceptions.

--
Stephen Compall or s11 or sirian

"Marriage is low down, but you spend the rest of your life paying for it."
-- Baskins

World Trade Center LABLINK M-14 bootleg Rand Corporation BLU-97 A/B
broadside Craig Livingstone sweep eavesdropping Soviet NASA Area 51
FTS2000 BCCI


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-19 17:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-18 13:49 Exception Laurent Marzullo
2003-11-19 17:16 ` Exception Stephen Compall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).