asp.net - Catching user-defined Oracle exceptions in VB.NET -


i have stored procedure in oracle throws user-defined error using raise_application_error in situations. user-defined error code -20000.

i calling stored procedure asp.net application using vb.net, , catch specific error , display custom error message, vb.net catching error number 20000, not -20000.

is there different way catch error or better way go this? thanks!

after doing more research, think 20000 error code need catch. according link below, ora-20000 exceptions generated raise_application_error, think i'm safe catching 20000 opposed -20000. confusing me.

https://docs.oracle.com/cd/b28359_01/server.111/b28278/toc.htm


Comments