1 Reply Latest reply on Feb 24, 2003 1:00 PM by myebook

    Famous "java.lang.reflect.UndeclaredThrowableException "

    am_gandhi

      Hi Ppl,
      I have searched the whole newsgroup there are lot of postings with this problem but none with right solution.
      The problem is:- session bean trying to set values in database via entity bean (CMP) if wrong data is supplied server throws "javax.ejb.EJBException: Store failed; CausedByException is:
      ORA-01401: inserted value too large for column"
      What I am trying to do is to catch this exception in session bean but in session bean the call to entity bean's setXXX method doesnt complains instead it throws "UndeclaredThrowableException" to the end client.
      I am using jboss-3.0.4_tomcat-4.1.12
      Please advice what need to be done to get rid of this problem.


      Thanks
      Amit..