OK, I know too much unnecessary information :-D

I kept trying and I solved some exceptions. I can handle exceptions in
actionListener methods by the custom FacesServlet way and I can handle
any EvaluationExceptions with an custom PropertyResolver delegater.

But I really cannot handle action method exceptions. I've already seen,
that the "common" way should be like

public string myAction(){
    try{
        //do something
        return "success";
    }catch (Throwable e){
        return "error";
    }
}

Is there a diffrent approach to handle these exceptions in one single
place. It would keep things maintainable, if you want to keep track of
these errors and not only redirect to another page.

Thanks in advance

Stefan

Reply via email to