Class ErrorCommand
- java.lang.Object
-
- org.apache.manifoldcf.scriptengine.ErrorCommand
-
-
Constructor Summary
Constructors Constructor Description ErrorCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanparseAndExecute(ScriptParser sp, TokenStream currentStream)Parse and execute.voidparseAndSkip(ScriptParser sp, TokenStream currentStream)Parse and skip.
-
-
-
Method Detail
-
parseAndExecute
public boolean parseAndExecute(ScriptParser sp, TokenStream currentStream) throws ScriptException
Parse and execute. Parsing begins right after the command name, and should stop before the trailing semicolon.- Specified by:
parseAndExecutein interfaceCommand- Parameters:
sp- is the script parser to use to help in the parsing.currentStream- is the current token stream.- Returns:
- true to send a break signal, false otherwise.
- Throws:
ScriptException
-
parseAndSkip
public void parseAndSkip(ScriptParser sp, TokenStream currentStream) throws ScriptException
Parse and skip. Parsing begins right after the command name, and should stop before the trailing semicolon.- Specified by:
parseAndSkipin interfaceCommand- Parameters:
sp- is the script parser to use to help in the parsing.currentStream- is the current token stream.- Throws:
ScriptException
-
-