ExceptStatementItem Class
From The Oxygene Language Wiki
This is a Language topic
Feel free to add your notes to this topic below.
[Serializable] ExceptStatementItem = public class
This class holds an on <x>: <type> do <statement> statement inside an except block. Note that while the base exception type is called System.Exception, it's customary to catch System.Object for a try/except that catches any exception. The possible except statement items are checked in order and only 1 of them will be executed at most, so when having the first item except on System.Object, no other would trigger even if the class is a closer match.
Namespace: Cirrus Statements
Members
| | |
|---|---|
| constructor(aBody: Statement; aWereCondition: Value; aName: String; aType: IType) | Creates a new empty instance of this class |
| constructor | Creates a new empty instance of this class |
Properties
| | |
|---|---|
| Body: Statement | Body for this statement |
| Condition: Value | Where condition for this exception, optional |
| Name: String | Name for the local introduced, if any. |
| Type: IType | Type of the introduced local, if any; if set without a local it's the type of exception to filter on |
See Also
- Cirrus
- External Links:
- Prism Aspects to Help with Monobjc Development (RemObjects Blogs)
- ExceptStatement Class
Area: Oxygene Language
Compiler version: Oxygene 5
Language Glossary — Keywords — Types — FAQ — How To