throw: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 5: | Line 5: | ||
<h2 style="color:#000066"> | <h2 style="color:#000066">''' throw ''expression'''''</h2> | ||
Line 14: | Line 14: | ||
'''Type of returned value:''' | '''Type of returned value:''' | ||
Nothing | [[Nothing]] | ||
'''Compatibility:''' | '''Compatibility:''' | ||
Line 23: | Line 23: | ||
Throws an exception. The exception is processed by first catch block. See [[try|Try]]. | Throws an exception. The exception is processed by first catch block. See [[try|Try]]. | ||
'''Example:''' | '''Example:''' | ||
'''throw''' "invalid argument" | '''throw''' "invalid argument" |