CancelCommandLineExceptionclass
Cancel Command Line exception. This is used to cancel any *remaining* commands on a command line after finishing execution of one command on the line. For example, if the player types “TAKE BOX AND GO NORTH”, the handler for TAKE BOX can throw this exception to cancel everything later on the command line (in this case, the GO NORTH part).
This is handled almost identically to TerminateCommandException. The only difference is that some games might want to alert the player with an explanation that extra commands are being ignored.
class
CancelCommandLineException
:
TerminateCommandException
Superclass Tree (in declaration order)
CancelCommandLineException
TerminateCommandException
ParserException
Exception
` object`
Subclass Tree
(none)
Global Objects
(none)
Summary of Properties
Inherited from Exception
:
errmsg_
Summary of Methods
Inherited from Exception
:
construct
displayException
getExceptionMessage
showStackTrace
Properties
(none)
Methods
(none)
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3