Uses of Class
org.hawk.exception.HawkException

Packages that use HawkException
org.hawk.data.perf   
org.hawk.ds   
org.hawk.exception   
org.hawk.html   
org.hawk.module   
org.hawk.module.script   
org.hawk.module.script.type   
org.hawk.module.task   
org.hawk.util   
 

Uses of HawkException in org.hawk.data.perf
 

Methods in org.hawk.data.perf that throw HawkException
static java.util.List<HawkPerfData> HawkPerfDataCollector.readPerfData()
           
 

Uses of HawkException in org.hawk.ds
 

Methods in org.hawk.ds that throw HawkException
 IScript BinaryTree.calculate()
           
 IScript BinaryTree.calculate(BinaryTree.Node toor)
           
static IScript HawkCalculator.calculate(IScript leftElement, IScript rightElement, Element operatorElement)
          This operates on two input variable.
 boolean BinaryTree.createTree()
          Creates the binary tree from the infix expression.
 int Element.getPrecedence()
          This returns the precedence of operators supported in hawk.
 boolean Element.hasHigherPrecedence(Element otherOpr)
           
static java.util.List<Element> Element.parseElements(java.lang.String equation)
          This parses input equation into list of Element
 java.util.List<Element> Expression.toPostfix()
          This returns the the POSTFIX form of the input expression.
 java.util.List<Element> Expression.toPrefix()
          This converts the input expression into PREFIX format.
 

Constructors in org.hawk.ds that throw HawkException
BinaryTree(java.lang.String str)
          Initializes a newly created BinaryTree object.
 

Uses of HawkException in org.hawk.exception
 

Subclasses of HawkException in org.hawk.exception
 class HawkCompilationException
          This exception is thrown during hawk script compilation.
 

Uses of HawkException in org.hawk.html
 

Methods in org.hawk.html that throw HawkException
static void HTMLUtil.main(java.lang.String[] args)
           
 

Uses of HawkException in org.hawk.module
 

Methods in org.hawk.module that throw HawkException
 boolean ModuleExecutor.execute()
          This is the entry point when hawk is run in property mode.
 Variable ModuleExecutor.executeModule(IModule module, java.lang.String subTask)
          This executes the subtask of a module.
 

Uses of HawkException in org.hawk.module.script
 

Methods in org.hawk.module.script that throw HawkException
 IScript AbstractScript.add(IScript dataType)
           
 IScript IScript.add(IScript otherScript)
           
 IScript VariableDeclScript.add(IScript otherScript)
           
static boolean SingleLineScript.addScripts(int i, java.lang.String scriptStr, MultiLineScript multiLineScript)
           
static int MultiLineScript.addScripts(MultiLineScript multiLineScript, int i)
           
 IScript AbstractScript.and(IScript dataType)
           
 IScript IScript.and(IScript otherScript)
           
 IScript AbstractScript.arrayBracket(IScript otherScript)
           
 IScript ArrayDeclScript.arrayBracket(IScript otherScript)
           
 IScript IScript.arrayBracket(IScript otherScript)
           
 IScript AbstractScript.assign(IScript dataType)
           
 IScript ArrayDeclScript.assign(IScript otherScript)
           
 IScript IScript.assign(IScript otherScript)
           
 IScript StructureScript.assign(IScript otherScript)
           
 IScript VariableDeclScript.assign(IScript otherScript)
           
 boolean ScriptInterpreter.cacheAliases()
           
 java.util.Map<java.lang.String,FunctionScript> ScriptInterpreter.cacheFunctionScriptMap()
          This caches the function script map
 java.util.Map<java.lang.String,FunctionScript> ScriptInterpreter.cacheFunctionScriptMap(boolean shouldParseDetails)
          This caches the function script map
 boolean ScriptInterpreter.cacheGlobalVariable()
          This caches all the global variables declared
 java.util.Map<java.lang.String,StructureDefnScript> ScriptInterpreter.cacheStructureDefnMap()
          This caches the structure definition
 boolean ScriptInterpreter.compile(java.lang.String scriptFile)
          This parses the hawk script file for syntax check.
 boolean ScriptInterpreter.createFunctionScript(java.lang.String functionName, FunctionScript functionScript)
           
static AliasScript AliasScript.createScript(java.util.Map<java.lang.Integer,java.lang.String> lineAliasMatcherMap)
          This creates AliasScript from the Alias matcher map.
static AssignmentScript AssignmentScript.createScript(java.util.Map<java.lang.Integer,java.lang.String> lineStructMatcherMap)
           
static ExecBackgroundSingleLineScript ExecBackgroundSingleLineScript.createScript(java.util.Map<java.lang.Integer,java.lang.String> lineFunctionMatcherMap)
           
static ExecFunctionScript ExecFunctionScript.createScript(java.util.Map<java.lang.Integer,java.lang.String> lineFunctionMatcherMap)
           
static ExecModuleScript ExecModuleScript.createScript(java.util.Map<java.lang.Integer,java.lang.String> lineModuleMatcherMap)
           
static ExecParallelSingleLineScript ExecParallelSingleLineScript.createScript(java.util.Map<java.lang.Integer,java.lang.String> lineFunctionMatcherMap)
           
static int DoWhileLoopScript.createScript(MultiLineScript multiLineScript, int i)
          This returns EchoScript from echo matcher map.
static int ForLoopScript.createScript(MultiLineScript multiLineScript, int i)
          This returns EchoScript from echo matcher map.
static int IfScript.createScript(MultiLineScript multiLineScript, int i)
          This returns EchoScript from echo matcher map.
static int WhileLoopScript.createScript(MultiLineScript multiLineScript, int i)
          This returns EchoScript from echo matcher map.
 IScript AbstractScript.divide(IScript dataType)
           
 IScript IScript.divide(IScript otherScript)
           
 IScript VariableDeclScript.divide(IScript otherScript)
           
 boolean ScriptInterpreter.doesStructExist(java.lang.String structName)
          This checks if structName is defined in the hawk script
 boolean ScriptInterpreter.doesStructMemberExist(java.lang.String structName, java.lang.String structMember)
          This checks if a structName and it's member structMember are defined in the hawk script
 IScript AbstractScript.equalTo(IScript dataType)
           
 IScript IScript.equalTo(IScript otherScript)
           
 IScript VariableDeclScript.equalTo(IScript otherScript)
           
 boolean IfScript.evaluate()
           
 Variable ReturnScript.evaluate()
           
 IScript AbstractScript.evaluateGlobalVariable(java.lang.String expression)
           
 boolean AbstractScript.evaluateLocalBoolean(java.lang.String expression)
           
 IScript AbstractScript.evaluateLocalVariable(java.lang.String expression)
           
abstract  Variable AbstractScript.execute()
           
 Variable AliasScript.execute()
          This executes the alias script
 Variable ArrayDeclScript.execute()
           
 Variable AssignmentScript.execute()
           
 Variable BreakScript.execute()
          There is nothing to be done except returning true as break does not have anything to execute.
 Variable CommentScript.execute()
          There is nothing to be done except
 Variable DoWhileLoopScript.execute()
           
 Variable EchoScript.execute()
           
 Variable ElseIfScript.execute()
           
 Variable ExecBackgroundSingleLineScript.execute()
           
 Variable ExecFunctionScript.execute()
           
 Variable ExecModuleScript.execute()
           
 Variable ExecParallelSingleLineScript.execute()
           
 Variable ForLoopScript.execute()
           
 Variable IScript.execute()
          This executes the contents of a script.
 Variable IfScript.execute()
           
 Variable LocalVarDeclScript.execute()
           
 Variable MultiLineScript.execute()
           
 Variable ParameterScript.execute()
           
 Variable ReadLineScript.execute()
           
 Variable ReturnScript.execute()
           
 Variable SingleLineScript.execute()
           
 Variable StructureScript.execute()
           
 Variable ThinkScript.execute()
           
 Variable VariableDeclScript.execute()
           
 Variable WhileLoopScript.execute()
           
static Variable ExecFunctionScript.execute(java.lang.String functionName, int lineNumber, java.lang.String mangledFunctionName, java.util.Map<java.lang.Integer,IScript> paramMap)
           
 Variable FunctionScript.executeDefaultForLoopScript(java.util.Map<java.lang.Integer,IScript> params)
           
static MultiLineContainer MultiLineScript.extractMultiLineContainer(java.util.Map<java.lang.Integer,java.lang.String> scriptMap, int x)
           
 FunctionScript ScriptInterpreter.findFunctionScript(java.lang.String mangledFunctionName)
          This finds the FunctionScript for the input mangled function name When invoked in threads other than main thread, this method clones the function script and returns the same.
 java.util.Map<java.lang.String,FunctionScript> ScriptInterpreter.getFunctionScriptMap()
          This returns the cached function->FunctionScript map.
 java.util.Set<SubTaskContainer> ScriptInterpreter.getSortedSubTasks(IModule module)
          This returns Set the subtasks of a module sorted on the sequence number.
 java.util.Map<java.lang.String,StructureDefnScript> ScriptInterpreter.getStructureDefnMap()
          This returns the cached structure->StructureDefnScript map.
 IScript AbstractScript.greaterThan(IScript dataType)
           
 IScript IScript.greaterThan(IScript otherScript)
           
 IScript VariableDeclScript.greaterThan(IScript otherScript)
           
 IScript AbstractScript.greaterThanEqualTo(IScript dataType)
           
 IScript IScript.greaterThanEqualTo(IScript otherScript)
           
 IScript VariableDeclScript.greaterThanEqualTo(IScript otherScript)
           
 boolean FunctionScript.initializeParamsValue(java.util.Map<java.lang.Integer,IScript> params)
           
 boolean ParameterScript.initializeParamsValue(java.util.Map<java.lang.Integer,IScript> params)
           
 java.util.Map<java.lang.String,IScript> StructureDefnScript.instantiate()
           
 java.util.Map<java.lang.String,IScript> StructureScript.instantiate()
           
 boolean ScriptInterpreter.interpret()
          This interprets the hawk script file.
static boolean LocalVarDeclScript.isValid(Variable variable, MultiLineScript multiLineScript)
           
 IScript AbstractScript.lessThan(IScript dataType)
           
 IScript IScript.lessThan(IScript otherScript)
           
 IScript VariableDeclScript.lessThan(IScript otherScript)
           
 IScript AbstractScript.lessThanEqualTo(IScript dataType)
           
 IScript IScript.lessThanEqualTo(IScript otherScript)
           
 IScript VariableDeclScript.lessThanEqualTo(IScript otherScript)
           
 IScript AbstractScript.modulus(IScript dataType)
           
 IScript IScript.modulus(IScript otherScript)
           
 IScript VariableDeclScript.modulus(IScript otherScript)
           
 IScript AbstractScript.multiply(IScript dataType)
           
 IScript IScript.multiply(IScript otherScript)
           
 IScript VariableDeclScript.multiply(IScript otherScript)
           
 IScript AbstractScript.or(IScript dataType)
           
 IScript IScript.or(IScript otherScript)
           
 boolean AliasScript.parseAliases(java.util.Map<java.lang.Integer,java.lang.String> scriptMap)
           
 boolean ScriptUsage.parseArguments(java.lang.String[] args)
          Parses the input arguments to find the mode BuildModeEnum
protected  java.lang.String ExecFunctionScript.parseFunctionParameters()
           
static ParameterScript ParameterScript.parseFunctionParameters(java.lang.String parameters)
           
static java.util.Map<java.lang.String,FunctionScript> FunctionScript.parseFunctions(java.util.Map<java.lang.Integer,java.lang.String> scriptMap)
           
 java.util.Map<java.lang.String,FunctionScript> ScriptInterpreter.parseFunctionScriptMap()
           
static boolean MultiLineScript.parseMultiLines(java.util.Map<java.lang.Integer,java.lang.String> scriptMap, int x, int y, MultiLineScript multiLineScript)
           
static void StructureDefnScript.parseStructMembers(java.util.Map<java.lang.Integer,java.lang.String> scriptMap, StructureDefnScript structureDefnScript)
           
static java.util.Map<java.lang.String,StructureDefnScript> StructureDefnScript.parseStructures(java.util.Map<java.lang.Integer,java.lang.String> scriptMap)
           
 IScript AbstractScript.refer(IScript dataType)
           
 IScript IScript.refer(IScript otherScript)
           
 IScript StructureScript.refer(IScript otherScript)
           
 boolean AliasScript.store(java.lang.String module, java.lang.String moduleAlias)
          This stores the module's alias.
 IScript AbstractScript.subtract(IScript dataType)
           
 IScript IScript.subtract(IScript otherScript)
           
 IScript VariableDeclScript.subtract(IScript otherScript)
           
 java.lang.Object AbstractScript.toJava()
           
 java.lang.Object ArrayDeclScript.toJava()
           
 java.lang.Object IScript.toJava()
          This converts the hawk object into java object
 java.lang.Object StructureScript.toJava()
           
 java.lang.Object VariableDeclScript.toJava()
           
 java.util.Map<java.lang.Object,java.lang.Object> AbstractScript.toJavaMap()
           
 java.util.Map<java.lang.Object,java.lang.Object> ArrayDeclScript.toJavaMap()
           
 java.util.Map<java.lang.Object,java.lang.Object> IScript.toJavaMap()
          This converts the hawk object into java map..
 java.util.Map<java.lang.Object,java.lang.Object> StructureDefnScript.toJavaMap()
          This converts the hawk structure into java map..
 java.util.Map<java.lang.Object,java.lang.Object> StructureScript.toJavaMap()
          This converts the hawk structure into java map..
 java.util.Map<java.lang.Object,java.lang.Object> VariableDeclScript.toJavaMap()
           
 

Uses of HawkException in org.hawk.module.script.type
 

Methods in org.hawk.module.script.type that throw HawkException
 IDataType AbstractDataType.add(IDataType dataType)
           
 IDataType IDataType.add(IDataType dataType)
           
 Variable Variable.add(Variable otherVariable)
           
 BooleanDataType AbstractDataType.and(IDataType dataType)
           
 BooleanDataType IDataType.and(IDataType dataType)
           
 Variable Variable.and(Variable otherVariable)
           
abstract  IDataType AbstractDataType.copy()
           
 IDataType BooleanDataType.copy()
           
 IDataType DoubleDataType.copy()
           
 IDataType IDataType.copy()
           
 IDataType StringDataType.copy()
           
 DoubleDataType AbstractDataType.divide(IDataType dataType)
           
 DoubleDataType IDataType.divide(IDataType dataType)
           
 Variable Variable.divide(Variable otherVariable)
           
 BooleanDataType AbstractDataType.equalTo(IDataType dataType)
           
 BooleanDataType IDataType.equalTo(IDataType dataType)
           
 Variable Variable.equalTo(Variable otherVariable)
           
 BooleanDataType AbstractDataType.greaterThan(IDataType dataType)
           
 BooleanDataType IDataType.greaterThan(IDataType dataType)
           
 Variable Variable.greaterThan(Variable otherVariable)
           
 BooleanDataType AbstractDataType.greaterThanEqualTo(IDataType dataType)
           
 BooleanDataType IDataType.greaterThanEqualTo(IDataType dataType)
           
 Variable Variable.greaterThanEqualTo(Variable otherVariable)
           
 BooleanDataType AbstractDataType.lessThan(IDataType dataType)
           
 BooleanDataType IDataType.lessThan(IDataType dataType)
           
 Variable Variable.lessThan(Variable otherVariable)
           
 BooleanDataType AbstractDataType.lessThanEqualTo(IDataType dataType)
           
 BooleanDataType IDataType.lessThanEqualTo(IDataType dataType)
           
 Variable Variable.lessThanEqualTo(Variable otherVariable)
           
 DoubleDataType AbstractDataType.modulus(IDataType dataType)
           
 DoubleDataType IDataType.modulus(IDataType dataType)
           
 Variable Variable.modulus(Variable otherVariable)
           
 DoubleDataType AbstractDataType.multiply(IDataType dataType)
           
 DoubleDataType IDataType.multiply(IDataType dataType)
           
 Variable Variable.multiply(Variable otherVariable)
           
 BooleanDataType AbstractDataType.or(IDataType dataType)
           
 BooleanDataType IDataType.or(IDataType dataType)
           
 Variable Variable.or(Variable otherVariable)
           
 DoubleDataType AbstractDataType.subtract(IDataType dataType)
           
 DoubleDataType IDataType.subtract(IDataType dataType)
           
 Variable Variable.subtract(Variable otherVariable)
           
 

Uses of HawkException in org.hawk.module.task
 

Methods in org.hawk.module.task that throw HawkException
 Variable SubTaskContainer.execute()
          Besides from executing subtask it collects it's execution time which in turn helps plotting the graph.
 

Uses of HawkException in org.hawk.util
 

Methods in org.hawk.util that throw HawkException
static java.lang.String HttpUtil.createPostData(java.util.Map<java.lang.String,java.lang.String> hawkMap)
          This creates POST data from the input map passed in from hawk script.
static boolean HawkUtil.getBooleanData(double element)
           
static void HawkUtil.main(java.lang.String[] args)
           
static java.lang.String HawkUtil.parseBracketData(java.lang.String input)
           
static java.lang.String HawkUtil.parseDelimeterData(java.lang.String input, char startingDelimChar, char closingDelimChar)
           
static java.lang.String HawkUtil.readFile(java.lang.String filePath)
           
static java.lang.String HawkUtil.readLineFromConsole()
           
static boolean HawkUtil.writeFile(java.lang.String filePath, java.lang.String data)