cancel
Showing results for 
Search instead for 
Did you mean: 

Exception Handling in UDF?

Former Member
0 Kudos

Hi experts,

iam working Scenario file-xi-rfc scenario were in mapping, iam writing an UDF i want to know How to handle the exceptions in UDF and How the user will know where the exception has occurred.

please send related links.

note:useful answer will be rewarded.

regards,

kumar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

XI/PI: Throwing Generic Exceptions from any type of Mapping

/people/michal.krawczyk2/blog/2007/04/26/xipi-throwing-generic-exceptions-from-any-type-of-mapping

Throwing Smart Exceptions in XI Graphical Mapping

/people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping

"Fast return" with Java exceptions

/people/valery.silaev/blog/2007/05/15/fast-return-with-java-exceptions

Errors, Exceptions, and Asynchronous Web Services

/people/udi.dahan/blog/2007/03/27/errors-exceptions-and-asynchronous-web-services

Thanks

Answers (2)

Answers (2)

Former Member
0 Kudos

you can add normal exception handling of java or you can use Exception.fire(message ) function for throwing explicit exception in UDF...

all the exception message you will get in SXMB_MONI...under error java stack..

Shabarish_Nair
Active Contributor
0 Kudos

/people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping this should help