Raise (keyword)

From RemObjects Software

Jump to: navigation, search

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


raise in Exception Handling

If your code determines that there is an unrecoverable error, you will probably want to raise an exception:

if MyObject = nil then
  raise new Exception('MyObject not initialized');

See Exception Handling for more details.

raise in Events

Starting with Oxygene 3.0, the raise keyword is also used in Event declarations to determine if and by whom an event can be fired.


See Also


Product: RemObjects Oxygene (formerly known as Chrome)
Current version: 3.0 Previous Versions: 'Joyride' (2.0), 'Floorshow' (1.5), 'Adrenochrome' (1.0)

GlossaryKeywordsLanguage FeaturesPlatform FeaturesSamplesArticlesHow ToIssues

Personal tools