How To Override "Error invoking class_name.Function_name" When Catching Exception In Java Code And Show Some Meaningful Exception Message To The User In ADF Mobile Application ?
(Doc ID 1534749.1)
Last updated on MARCH 15, 2021
Applies to:Oracle JDeveloper - Version 220.127.116.11.0 to 18.104.22.168.0 [Release Oracle11g]
Information in this document applies to any platform.
In ADF Mobile application, try-catch block is defined to handle exceptions as shown below :
When the application raises an exception, it displays "Error invoking method '<METHOD_NAME>' in '<PACKAGE>.<CLASS_NAME>' " from the associated java code class and method, but not the new thrown exception message as above ("Error with the server. Please try later.").
How to override this error invoking method '<METHOD_NAME>' in '<PACKAGE>.<CLASS_NAME>' " and show some meaningful exception message to the user ?
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document