Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In order for an error message to appear on screen, a java exception must be created and thrown. 

 

  1. Create the Exception class. 
    1. All exception classes must extend com.crm.exception.CRMValidationException
    2. 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.
      1. To create the exception method:
        1. Use com.crm.businessobject.CRMSession object as an input parameter and any other String input parameters needed.
        2. Put all String input parameters in a String ArrayList.
        3. Use setMessage method of com.crm.exception.CRMException class to construct the exception message.

...