i am throwing a user defined exception from the DAO. it is being caught in the calling bean. after catching the specific exception in the bean i catch the general exception. by the time the exception reaches the bean it gets converted to general exception. as a result it is caught in the general exception catch and not in the specific exception catch.
by the time the exception reaches the bean it gets converted to general exception. Hi, Can you elaborate bit more like Is there any appserver involved or EJB involved. It may be that your User Defined Exception is comming trough a layer of EJB and getting converted to RemoteException<.So getting caught in general Exception block. Please clarify, so that we reach at solution. Cheers [ January 13, 2003: Message edited by: Susil Parida ] [ January 13, 2003: Message edited by: Susil Parida ]