RaiseStatement Class

From The Oxygene Language Wiki

Jump to:navigation, search

This is a Language topic
Feel free to add your notes to this topic below.


[Serializable]
RaiseStatement = public class(Statement)

Raise statements are used to trigger a runtime exception. Raise supports both raising a value, or re-raising an exception when no value is passed (only works from within an Except handler block).

Namespace: Cirrus Statements


Members

Method
Description
constructor(aValue: Value) Raise an exception
constructorRe-raise an exception (only works within the except of a try)


Properties

Property
Description
RaiseValue: ValueValue to raise; or nil if it's a re-raise


See Also

Oxygene-48.png

Area: Oxygene Language
Compiler version: Oxygene 5

Language GlossaryKeywordsTypesFAQHow To

Navigation
Areas
More
Toolbox