On Tue, 25 Jan 2011 22:18:16 +0100
Juan Jose Garcia-Ripoll <juanjose.garciarip...@googlemail.com> wrote:

> On Tue, Jan 25, 2011 at 10:09 PM, Matthew Mondor
> <mm_li...@pulsar-zone.net>wrote:
> 
> > Meanwhile, if someone has a good understanding on the ECL condition
> > system and wishes to explain how those C functions map to the
> > hierarchical CLOS model, I'd be grateful, it wasn't clear to me when
> > looking at universal_error_handler().
> >
> 
> The CLOS model is pretty trivial: it is just used to implement the
> conditions hierarchy. The problem is that it is not easy to create classes
> from C and for that reason we build a bunch of C functions that use cl_error
> and cl_cerror to signal those conditions. They are just wrappers around
> them.

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.
-- 
Matt

------------------------------------------------------------------------------
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