Error Handling in OIC
Summary
Error Handling in OICContent
Hello,
I am building a REST API. If any error comes during validation/api error, I want to catch it and raise application error with the specific message to the error hospital in OIC to reprocess them at later point, instead of sending it response payload to Invoking system.
I found that we can't rasie application error except in global fault. Please let me know if we can achieve throw Java Library, also pls share code snippet if you have same kind of scenario.
Thanks ,
Sridhar
Tagged:
0