This functionality is only available for certain module packages.

You are here: Reference > SCRIPTING > General methods > Outdated methods of UserMessageCollector > addWarning(Object reportingInstance, String causeObjectID, String topic, String message)

addWarning(Object reportingInstance, String causeObjectID, String topic, String message)

Adds to the UMC a warning of the LIBRARY type.

addWarning(Object reportingInstance, String causeObjectID, String topic, String message)
Argument Object reportingInstance The object causing the error and/or reporting the error.
String causeObjectID Currently null; is set aside for future extensions.
String topic The message title. Is used both as the title in the message window and the identifier for the logger.
String message The message text.
Return value Boolean true or false