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

Class based exception handling

Former Member
0 Likes
300

Hi,

I have to divide 2 nos and use them for further processing.

Could you pls tell me how do i include class based exception handling which includes divide by zero etc.

Thanks a lot.

1 REPLY 1
Read only

Sm1tje
Active Contributor
0 Likes
266

Data: lr_error type ref to cx* (don't know the divide by zero exception class by name).

try.

x / y = z.

catch cx* into lr_error.

endtry.