Exception Types in OAF ( Oracle Application Framework )
1) catch(Exception ex)
{
throw new OAException(ex.getMessage(), (byte)0);
}
2) throw new OAException("Path not selected. Please select the path first.", (byte)0);
3) OAException message = new OAException("File uploaded successfully.", (byte)3);
pageContext.putDialogMessage(message);
4) OAException oaexception2 = new OAException("SQLAP", "AP_PAY_PSR_APPLY_CONFIRM", null, (byte)3, null);
oapagecontext.putDialogMessage(oaexception2);
5) catch(NullPointerException ex)
{ System.out.println("you are in inside catch exception");
throw new OAException("Please Select a File to Upload", OAException.ERROR);
}
No comments:
Post a Comment