...
In order for an error message to appear on screen, a java exception must be created and thrown.
- Create the Exception class.
- All exception classes must extend com.crm.exception.CRMValidationException.
- All exception methods should have a com.crm.exception.CRMValidationException object as an input parameter and use setMessage method of com.crm.exception.CRMException class.
- To create the exception method:
- Use com.crm.businessobject.CRMSession object as an input parameter and any other String input parameters needed.
- Put all String input parameters in a String ArrayList.
- Use setMessage method of com.crm.exception.CRMException class to construct the exception message.
- To create the exception method:
...