0 Replies Latest reply on Oct 8, 2012 12:41 AM by Ankit Mishra

    Throwing a custom exception from a java class and redirecting to an error page using SEAM

    Ankit Mishra Newbie

      Hi all,

       

      We have a requirement where there is a code written in java and on exception (say authorization failed) we want to redirect to an error page. Required enteries within pages.xml for SEAM is being done. Exception is a custom exception class written. I am unable to understand how can we ensure that on failing it will be redirected to an error page using seam.

       

      Hope to get your responses.

       

      Regards,

      Ankit