WindowsScriptErrorExceptionMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

WindowsScriptErrorExceptionMBS class

Super class: RuntimeException

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Windows MBS Win Plugin 10.0 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The exception class raised when an error happens while executing a script.
Example
dim w as new WindowsScriptMBS

w.Language = "VBScript"

w.AddCode "a = 1"
w.AddCode "b = 2"

w.AllowUI = false
w.ExecuteStatement "msgbox a+b" // shows exception with access denied

Exception e as WindowsScriptErrorExceptionMBS
MsgBox e.message

Subclass of the RuntimeException class.

This class has no sub classes.

Blog Entries


The items on this page are in the following plugins: MBS Win Plugin.


WindowsReportErrorMBS   -   WindowsScriptErrorMBS


💬 Ask a question or report a problem