/doc/efun/throw


SYNOPSIS

void throw(mixed arg)

DESCRIPTION

Abort execution. If the current program execution was initiated by catch(), that catch expression will return arg as error code. Calling throw() without previous catch() does not make sense and will result in an ``throw without catch'' error.

EXAMPLE

	catch(throw("aborting execution"));
	This will just print the string "aborting execution".

SEE ALSO

catch
raise_error

| Home | Applied | Concepts | Efuns | Help | Intro | Lib | LPC | Prop | Obj | Sefuns | Std | W |

Nightfall@quest.tat.physik.uni-tuebingen.de
Automatically generated on Fre, 12. Apr 1996