Custom Message Example
The following code example shows how to display a custom informational message using the addMessageObject method.
cim1265
The following code example shows how to display a custom informational message using the addMessageObject method.
The code example uses the methods ProcessStep and ErrorLevel. The field ErrorLevel.SUCCESS instructs
CA Identity Manager
to display the message on the screen:Example:
IMSException imsx = new IMSException();imsx.addUserMessage("My custom message");context.addMessageObject (imsx,"MyBLTH", ProcessStep.DATAVALIDATE, ErrorLevel.SUCCESS);