All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xworker.swt.statement.TRY.xer.txt Maven / Gradle / Ivy

@xworker.swt.statement.TRY
sname
TRY
slabel
TRY
sdescriptors
xworker.lang.MetaDescriptor3
sextends
xworker.swt.Widgets
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@

类似Java的try{}catch(){}finally语句。

Catch的表达式应是类的全名,用此判断是否Catch相关抛除的对象。

#$@text#$@ sid Try @xworker.swt.statement.TRY/@scripts sname scripts sid scripts slabel scripts sdescriptors xworker.lang.MetaDescriptor3/@actions @xworker.swt.statement.TRY/@scripts/@run sname create sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true souterClassName xworker.swt.statement.TRYCreator sclassName Try smethodName create sdisableGlobalContext false sid run sdescriptors xworker.lang.actions.JavaAction @xworker.swt.statement.TRY/@Catch sname Catch sdescriptors xworker.lang.MetaDescriptor3/@thing sextends xworker.swt.Widgets smany true seditCols 2 sinitialization false smodifier public sinheritDescription false sid Catch @xworker.swt.statement.TRY/@Catch/@exception sname exception sinputtype inputSelect ssize 60 scolspan 2 sdefault java.lang.Exception sinheritDescription false Sdescription #$@text#$@

需要捕获的异常的Java类,如果抛出的异常是该类的实例,那么捕获,否则不。

如果要捕获所有抛出物,那么可以使用:java.lang.Object

如果要捕获所有Java异常,那么可以使用:java.lang.Exception

#$@text#$@ LvalidateOnBlur false LallowDecimals false LallowNegative false sid exception sdescriptors xworker.lang.MetaDescriptor3/@attribute @xworker.swt.statement.TRY/@Catch/@exception/@java_lang_Exception sname java.lang.Exception slabel java.lang.Exception svalue java.lang.Exception sid java.lang.Exception sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value @xworker.swt.statement.TRY/@Catch/@exception/@java_lang_Object sname java.lang.Object slabel java.lang.Object svalue java.lang.Object sid java.lang.Object sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value @xworker.swt.statement.TRY/@Catch/@exception/@java_lang_String sname java.lang.String slabel java.lang.String svalue java.lang.String sid java.lang.String sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value @xworker.swt.statement.TRY/@Catch/@dataName sname varName sdescription Exception存放在变量容器的值。 LvalidateOnBlur false LallowDecimals false LallowNegative false sid dataName sdescriptors xworker.lang.MetaDescriptor3/@attribute @xworker.swt.statement.TRY/@Finally sname Finally sdescriptors xworker.lang.MetaDescriptor3/@thing sextends xworker.swt.Widgets smany true seditCols 2 sinitialization false smodifier public sinheritDescription false sid Finally @xworker.swt.statement.TRY/@name sname name LvalidateOnBlur false LallowDecimals false LallowNegative false sid name sdescriptors xworker.lang.MetaDescriptor3/@attribute @xworker.swt.statement.TRY/@description sname description sinputtype html scolspan 2 sinputattrs Width='480';Height='300';ToolbarSet="SwtEdit" LvalidateOnBlur false LallowDecimals false LallowNegative false sid description sdescriptors xworker.lang.MetaDescriptor3/@attribute @xworker.swt.statement.TRY/@label sname label sinheritDescription false LvalidateOnBlur false LallowDecimals false LallowNegative false sid label sdescriptors xworker.lang.MetaDescriptor3/@attribute




© 2015 - 2025 Weber Informatics LLC | Privacy Policy