Hi again,

after searching the nabble archives, I found the isue RIFE-89,
and this post: 
http://www.nabble.com/Custom-error-handling-tf1716264s9330.html#a4660557

So I tried it,
all the elements in my project extend one basic element, which now
contains:

        @Override
        public final void processElement() throws EngineException {
                super.processElement();
                try {
                        processM24Element();
                } catch (LightweightEngineException lwee) {
                        throw lwee;
                } catch (Exception e) {
                        handleException(e);
                }
        }

the processM24Element method is now used in all other Elements,
after inserting the LightWeightEnigineException catchblock,
and adding some support for detecting Embedded Elements in
"handleException(e)"
things work now, BUT

Processing Submisions/Form/Beans allways call a "doSomething" Method.
I think there is no similar way to handle customized Exceptionhandling
here, correct?

I now put try/catch blocks in the doSomthing methods,
but it is not as elegant as Edwin Mol proposed.

Any ideas to do this better?

Thanks in advance

Huibert Gill


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"rife-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to