0 Replies Latest reply on Dec 30, 2008 6:57 PM by Adam Warski

    Exceptions and outjection

    Adam Warski Master

      Hello,


      I have a component which outjects an object (with @Out).
      I also have an exception, which is handled in pages.xml and thrown by one of the methods of the above bean.


      However, when the exception is thrown, the outjected object is still null - so a RequiredException is thrown and handled by pages.xml, instead of my exception, which is only logged in the logs. The user sees the error page for RequiredException, not for my exception.


      Shouldn't it be different? I think user exceptions should take priority over checking if all required objects have been outjected.


      --
      Adam