On Tue, Jan 25, 2011 at 10:37 PM, Matthew Mondor
<mm_li...@pulsar-zone.net>wrote:

> I can indeed see the error type symbol in the cl_[c]error() calls, that
> clears up things a lot, thanks!  The remaining unclear part to me is
> FEerror() which seems to invoke universal_error_handler() and from
> there I get lost as to how the condition object is created.
>

universal-error-handler is the function which is reponsible for creating and
signaling conditions. It is defined in src/clos/conditions.lsp with the
following signature

(defun sys::universal-error-handler (continue-string datum args)

As you see, it is basically a CERROR on steroids. The CONTINUE-STRING
argument allows for three ways of signalling error:
* T for CERROR with the usual restart IGNORE
* NIL for ERROR with no restarts and an opened debugger
* A string for a CERROR with a CONTINUE restart. The string is the message.
* A symbol for a named restart around a CERROR.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to