CancelCommandLineExceptionclassparser.t[6678]

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  

(none)

Summary of Methods  

Inherited from Exception :
displayException  showStackTrace 

Properties  

(none)

Methods  

(none)

TADS 3 Library Manual
Generated on 4/11/2008 from TADS version 3.0.16