Re: [mp2 patch] exception objects

2004-05-03 Thread Stas Bekman
Question: - how should we name the defines for exception codes? I did MODPERL_CONST_EXIT for the EXIT exception. Or should it be MODPERL_ERROR_EXIT or else? I think it's confusing on the C side to have CONST (since it has nothing to do with const in C). I think I'll call it either: MODPERL_RC_

[mp2 patch] exception objects

2004-05-02 Thread Stas Bekman
OK, here is a working implementation of exception objects in mp2 including tests. This big patch includes: - infrastructure for ModPerl::Const - implementation of exception objects + tests o the throwing part in C o ModPerl::Error is the class that handles those exception objects - includ