EmptyNounErrorclassparser.t[5241], newbie.t[343]

Empty noun slot error. This occurs when there are no noun phrases in a functional slot in the predicate (e.g., when the player types "TAKE" without a direct object).

class EmptyNounError :   CommandError

Superclass Tree   (in declaration order)

EmptyNounError
        CommandError
                ParseError
                        Exception
                                object

Subclass Tree  

(none)

Global Objects  

(none)

Summary of Properties  

curable 

Inherited from CommandError :
cmd  errStage 

Inherited from ParseError :
allowOnRespell 

Inherited from Exception :
errmsg_ 

Summary of Methods  

construct  display  tryCuring 

Inherited from ParseError :
rankCorrection 

Inherited from Exception :
displayException  getExceptionMessage  showStackTrace 

Properties  

curableOVERRIDDENparser.t[5283]

we can cure by asking the player for the missing noun phrase

Methods  

construct (cmd, role)OVERRIDDENparser.t[5242]

no description available

display ( )OVERRIDDENparser.t[5249], newbie.t[344]
our message is a missing noun query (e.g., "What do want to open?")

tryCuring (toks, dict)OVERRIDDENparser.t[5258]
Try curing the error. After a missing noun query, the player can respond with a simple noun phrase answering the question.

Adv3Lite Library Reference Manual
Generated on 03/07/2024 from adv3Lite version 2.1