TryStatement Class
From The Oxygene Language Wiki
This is a Language topic
Feel free to add your notes to this topic below.
[Serializable] TryStatement = public class(Statement)
A try/finally/except or try/except/finally statement. The try statement executes the body and will trigger the finally block in all cases, the except block is executed when the body of the try statement fails. When both except and finally are passed, the order they are passed in define which one will be called first.
Namespace: Cirrus Statements
Members
| | |
|---|---|
| constructor(aBody: Statement; anExcept: ExceptStatement) | Initialize a new try statement |
| constructor(aBody: Statement; anExcept: ExceptStatement; aFinally: Statement) | Initialize a new try statement |
| constructor(aBody, aFinally: Statement) | Initialize a new try statement |
| constructor(aBody, aFinally: Statement; anExcept: ExceptStatement) | Initialize a new try statement |
| constructor | Initialize an empty try statement |
Properties
| | |
|---|---|
| Body: Statement | Body of the Try statement |
| Except: ExceptStatement | Except body |
| Finally: Statement | Finally statement. Finally is executed before Except (if any) |
| FinallyAfter: Statement | Finally statement. Ignored if Finally is set, executed after Except |
See Also
- Cirrus
- External Links:
- Prism Aspects to Help with Monobjc Development (RemObjects Blogs)
- Statement Class
Area: Oxygene Language
Compiler version: Oxygene 5
Language Glossary — Keywords — Types — FAQ — How To