For example, i created a exception that extends RuntimeException. My exception has a new field called "code". I want to handle this exception in Oracle Service Bus process and retrieve this code to throws another exception with a XML structure that includes the code. Is there a way to do that ?
Take the 2-minute tour
×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
I don't think that you will be able to retrieve just the "code". But certainly you can retrieve the details of the exception which will include your code. Try it out. |
|||||||||
|