1 Reply Latest reply on Dec 7, 2012 12:07 PM by Timo Hahn

    Regarding OAException


      I am throwing one OAException to display a error message on my OAF page. But after checking i concluded that Exception is getting thrown but on the page the message is not getting displayed. I tried to display the same exception message with SOP statement using a catch block and it is printing perfectly.Below giving some part of code.
      Please suggest me the solution for the same.

      System.out.println("inside validateStartDate if"); -------------------------->>>>>>>>>getting printed
      throw new OAException("Error occured during save record "); -------------------->>>Not getting displayed on OAF page
      //If i give
      catch(OAException e)
      System.out.println("Exception :"+e);--------------->>>>> printing the exception


      Jyoti Ranjan