FireBird Exception Data
Posted: Tue 22 Jan 2013 22:14
Hi,
I have a stored procedure in my FireBird DB v2.5 that throw an exception. example message:
---------------------------
My App
---------------------------
exception 5
My_Exception_Name
You made a mistake At procedure 'My_proc' line: 14, col: 114
At trigger 'trigger_name_BIU10' line: 6, col: 3.
---------------------------
OK
---------------------------
This is the exact message but obviously I dont want to display exception name, stored procedure name !, trigger name and line info !!
Is there a way to hid these info and display the message 'You made a mistake' only ?
Thanks
I have a stored procedure in my FireBird DB v2.5 that throw an exception. example message:
---------------------------
My App
---------------------------
exception 5
My_Exception_Name
You made a mistake At procedure 'My_proc' line: 14, col: 114
At trigger 'trigger_name_BIU10' line: 6, col: 3.
---------------------------
OK
---------------------------
This is the exact message but obviously I dont want to display exception name, stored procedure name !, trigger name and line info !!
Is there a way to hid these info and display the message 'You made a mistake' only ?
Thanks