IApplication.ThrowUserException method

Namespace: NextDesign.Desktop

Description

Throws a user exception.

argument

Name Type Description
message string Message to display in notification dialog
type string Type of icon in notification dialog
-"Error": Error
-"Warning": Warning
-"Information": Information
showDialog bool True to display the notification dialog
caption string Title of notification dialog
innerInfo object Information about the cause of the exception

Return value

  • void

Annotation

If the extension throws an exception, it rolls back the transaction that called the extension process to undo any changes to the model in the meantime. You can use this method when you want to explicitly notify the exception in the runtime exception handling of the extension.