In my application, I have one Validation rule that throws a warning message instead of an exception. Now, I am writing a JUnit test case to test this Validation rule. The problem is that I cannot catch the warning message using a try-catch block. To be precise, I tried to catch JboWarning class but it went through.
I'd be very grateful if you could show me how I can catch a warning message in ADF.
I am using JDeveloper 11.1.1.7