Skip to Main Content

APEX

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!

how to raise custome error message after page submision?

Madhwal.17Mar 31 2022

After all validations when i submit my page there are some validations that work in Trigger and hence hen they fail it shows error like
ORA-20000: Cannot drop object ORA-06512: at "schema.CHECK_ERROR", line 2 ORA-04088: error during execution of trigger 'schema.CHECK_ERROR'
when i add #SQLERRM_TEXT# in Error Message of the DML Process.
image.pngthen the error message shows like
Cannot drop object ORA-06512: at "schema.CHECK_ERROR", line 2 ORA-04088: error during execution of trigger 'schema.CHECK_ERROR'
I want my final output be like Cannot drop object.
And as there are many errors like this in my trigger hence i cannot write all of it into Page validation.

Please help
Thank You in advance.

This post has been answered by InoL on Mar 31 2022
Jump to Answer
Comments
Post Details
Added on Mar 31 2022
3 comments
140 views