Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Handling exceptions from JAVA in PL/SQL

Rado_mirJun 7 2013 — edited Jun 7 2013
Hello, i`m trying to run java class in Oracle DB. I have loaded this class with loadjava then i have created pl/sql function to call it. In my java class i got one try-catch statement. When i`m executing pl/sql function i`m not getting exception from try-catch stm and i know that my class isn`t working correctly. Can someone help me? It`s very important for me.

try{

//some code
}catch(Exception e)

e.printStackTrace(); <--- i would like to get this error in sqlplus

}

if need i can include full code.

Edited by: Rado_mir on 2013-06-07 00:04
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 5 2013
Added on Jun 7 2013
1 comment
920 views