Bundled exceptions let you accumulate "peer" exceptions while proceeding with validation, and then display them as a set when you are done. These peer exceptions are grouped in a container exception called a bundled exception.
To creat a bundled exception, you first must create a list to which you add exceptions as you encounter them:
ArryList peerExceptions = new ArrayList();
peerExceptions.add(new OAException(....));
peerExceptions.add(new OAException(....));
//Raise Exceptions
OAException.raiseBundledOAException(peerExceptions );
Thanks
To creat a bundled exception, you first must create a list to which you add exceptions as you encounter them:
ArryList peerExceptions = new ArrayList();
peerExceptions.add(new OAException(....));
peerExceptions.add(new OAException(....));
//Raise Exceptions
OAException.raiseBundledOAException(peerExceptions );
Thanks
Excellent blog I visit this blog it's really awesome. The important thing is that in this blog content written clearly and understandable. The content of information is very informative. Thanks for the excellent and great idea. keep blogging
ReplyDeleteOracle Fusion Financials Online Training
Oracle Fusion HCM Online Training
Oracle Fusion SCM Online Training
I have not any word to appreciate this post…..Really i am impressed from this post….
ReplyDeleteccsu ba 1st year result 2021-22
Having read your article. I appreciate you are taking the time and the effort for putting this useful information together.
ReplyDelete