for information about XES schema see these pages.
Try
Allows action to be taken on error. Exception defines error to look for, catchBlock is excecuted if found
for information about XES schema see these pages.
Allows action to be taken on error. Exception defines error to look for, catchBlock is excecuted if found
<xs:complexType name="tryType">
<xs:sequence>
<xs:element name="block" type="blockType"/>
<xs:element name="catchBlock" type="catchBlockType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="catchBlockType">
<xs:sequence>
<xs:element name="block" type="blockType"/>
<xs:element name="exception" type="xs:string"/>
</xs:sequence>
</xs:complexType>
try {
...
} catch {
case ioe: IOException =>
... // more specific cases first !
case e: Exception =>
...
}
try {
...
} catch {
case ioe: IOException =>
... // more specific cases first !
case e: Exception =>
...
}
metadata block |
|
see also: |
|
Correspondence about this page |
This site may have errors. Don't use for critical systems.
Copyright (c) 1998-2023 Martin John Baker - All rights reserved - privacy policy.