| | Uiinfrastructure API Docs | |
| GeneralHelpers.SetUIError Method |
This helper function sets a UI Error with the messages specified, and optionally throws an exception. The UI Error will contain the strings specified only, but the Debug log entry will also contain the text of the exception (e.getMessage())
Parameters
-
asOwner
- - The activity space in which the error was thrown
-
uiComponent
- - The UI component in which the error occurred, e.g. OpenLogService.GetComponent("Portal_UI_Infrastructure")
-
strFunctionName
- - The function that trapped the error (e.g. MyModel::CheckEditorAccessAndStart)
-
e
- - The exception that has been thrown
-
bThrow
- - Throw an XPException in addition to setting the error?
-
uiErrorLevel
- - The error level (e.g. UIErrorLevel.SERIOUS)
-
strErrorMessage
- - The error message string to be displayed
See Also
GeneralHelpers Class | com.plumtree.uiinfrastructure.statichelpers Namespace