Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

dynamic exception

Former Member
0 Likes
653

Hi,

We need to implement "dynamic" exception text (i.e., text will be dynamically generated at run time). Is it feasible? How?

Regards

Uri

1 ACCEPTED SOLUTION
Read only

rainer_hbenthal
Active Contributor
0 Likes
549

Use exception classes. Texts can be configured at runtime.

4 REPLIES 4
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
549

And what exactly do you mean by "dynamic exception text "?

Or, do you want to make a program which has an AI & throws interactive exception message?

Please clarify.

Read only

Former Member
0 Likes
549

can you please explain a bit?

Read only

0 Likes
549

example:

in case of NO_RECORDS an exception is being thrown. i want its text to be NO_RECORD_FOR_EMP_$ID (where $ID is a dynamic param which holds relevant emp id).

10x

Uri

Read only

rainer_hbenthal
Active Contributor
0 Likes
550

Use exception classes. Texts can be configured at runtime.