Previous Topic: Exception MessagesNext Topic: Access to Managed Objects


Custom Message Example

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 IdentityMinder 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);