throw.html

final_realms_fluffos_v1/lib/doc/man/html/efuns/calls/throw.html · 920 B

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

<HEAD> <TITLE> throw - forces an error to occur in an object. </TITLE> </HEAD> <BODY BACKGROUND=http://www.imaginary.com/~beek/gifs/bg.jpg TEXT=#000000 ALINK=#FFFF00 VLINK=#550000 LINK=#000099> <center> <H1> throw - forces an error to occur in an object. </H1> </center>
<p>
<b> void throw(mixed); </b>
<p>
Throw can be used to send an arbitrary value to an enclosing catch() statement.
If you want to raise a general error message, see error(), as that will
behave better if it is not caught.  Control is transfered directly to the
enclosing catch() statement, and the value of the catch() statement is the
value thrown.
<p>
See also:
<A HREF=catch.html>  catch </A>,
<A HREF=../system/error.html>  error </A>
<p>
<HR> <ADDRESS> <A HREF=http://wagner.princeton.edu/~tim>  Tim Hollebeek </A> <p> <A HREF="http://www.imaginary.com/~beek/">  Beek </A>@ZorkMUD, Lima Bean, IdeaExchange, TMI-2, and elsewhere </ADDRESS>
<p>

Site Stats

Snippets: 1791
Codebases: 571