Uses of Class
cdx.scorebot.scoring.logic.LogicException

Packages that use LogicException
cdx.scorebot.app.reporter Contains classes related to the Reporter. 
cdx.scorebot.scoring The framework for scoring test results. 
cdx.scorebot.scoring.logic Contains the data structures used to hold and process the information parsed by the Scoring Logic lexical analyzer. 
cdx.scorebot.scoring.logic.parser Contains the Scoring Logic lexical analyzer and parser. 
 

Uses of LogicException in cdx.scorebot.app.reporter
 

Methods in cdx.scorebot.app.reporter that throw LogicException
static void ScoringStats.generateCompleteStats(java.lang.String compName, int minPts, int initPts, int maxPts, java.util.Vector<TeamReportingInfo> teamsToScoreInfo, java.lang.String outputPath, java.lang.String templatePath, java.lang.String reportComments, java.lang.String desc, boolean useAllInfo, boolean makeFull)
          Generates statistics based on the specified input and output paths
static void ScoringStats.generateCompleteStats(java.lang.String compName, int minPts, int initPts, int maxPts, java.util.Vector<TeamReportingInfo> teamsToScoreInfo, java.lang.String outputPath, java.lang.String templatePath, java.lang.String reportComments, java.lang.String desc, boolean useAllInfo, boolean makeFull, javax.swing.JProgressBar progressBar)
          Generates statistics based on the specified input and output paths
 

Constructors in cdx.scorebot.app.reporter that throw LogicException
CompleteScoringStats(java.lang.String compName, TeamScoringInfo teamToScoreInfo, java.lang.String outputPath, java.lang.String templatePath)
          Defines where ScoreEvents are read from and where stats in HTML files are outputted too.
TeamScoringInfo(TeamReportingInfo teamInfo, int initPts, boolean hideUnreportedInfo)
          Initializes a TeamScoringInfo to hold scoring statistics regarding the specified team
 

Uses of LogicException in cdx.scorebot.scoring
 

Methods in cdx.scorebot.scoring that throw LogicException
static void ScoringRule.checkCode(java.lang.String code, TestSuite ts)
          checks the specified code for compile-time errors
 void ScoringRule.checkCode(TestSuite ts)
          checks the code which describes this logic for compile-time errors
 java.util.Vector<TestScoreEvent> ScoringRule.executeLogic(TestSuite suite, TestEvent t)
          executes the scoring logic on the specified TestEvent and returns any resulting TestScoreEvents, or null if none was generated (this just passes the TestEvent to ScoringLogic's executeLogic method)
 void ScoringRule.prepareRule(TestSuite ts)
          Prepare this rule for execution -- determines what tests need to be tracked and builds the logic
 int ScoringCompiler.processNextTestEvent(TestEvent evt)
          Process the next TestEvent (chronological order)
 java.util.Vector<TestScoreEvent> ScoringRuleset.processTestEvent(TestSuite suite, TestEvent e)
          Give each rule a chance to process the TestEvent.
 void ScoringRule.setCode(java.lang.String code)
          sets the code which describes this logic
 void ScoringRule.setCode(java.lang.String code, TestSuite ts)
          sets the code which describes this logic
 

Constructors in cdx.scorebot.scoring that throw LogicException
ScoringCompiler(NetworkTestPackage config)
          instantiates a scoring compiler
ScoringCompiler(NetworkTestPackage config, FlexLogger logger)
          instantiates a scoring compiler
 

Uses of LogicException in cdx.scorebot.scoring.logic
 

Subclasses of LogicException in cdx.scorebot.scoring.logic
 class IllegalMethodArgsException
          thrown if the logic contains a call to a method which exists but not with the specified parameters
 class IllegalOperandException
          thrown if the logic tries to apply an operator to operands for which it isn't defined
 class InvalidLValueException
          Thrown if the logic tries to assign a value to a literal, test result, test configuration option, or other invalid lvalue.
 class RedefinedVariableException
          thrown if the logic tries to declare a variable which has already been declared
 class TestUnavailableException
          thrown if the logic tries to access a test which hasn't been run yet
 class TypeMismatchException
          thrown if the logic tries to perform an operation on operands of different types
 class UndefinedMethodException
          thrown if the logic contains a call to a non-existant method
 class UndefinedTestException
          thrown if the logic tries to access a test which doesn't exist
 class UndefinedTestOptionException
          thrown if the logic tries to access a test option which doesn't exist
 class UndefinedTestResultException
          thrown if the logic tries to access a test result which doesn't exist
 class UndefinedVariableException
          thrown if the logic tries to access a variable which hasn't been defined
 

Methods in cdx.scorebot.scoring.logic that throw LogicException
static boolean ConditionalAndExpression.evaluateAND(Context context, Literal leftOperand, java.util.Vector<ConditionalXorExpression> rightOperands)
          Returns the short-circuit evaluation of the expression leftOperand && rightOperands[0] && rightOperands[1] ...
 Literal UnaryExpression.evaluateLogic(Context context)
          evaluate this logic code in the specified context
 Literal TestResultValue.evaluateLogic(Context context)
          returns the value of the the specified result for the specified test
 Literal TestConfigValue.evaluateLogic(Context context)
          returns the value of the the specified configuration option for the specified test
 Literal PrimaryExpression.evaluateLogic(Context context)
          evaluate this logic code in the specified context
 Literal Method.evaluateLogic(Context context)
          evaluate the method called in the specified context
 Literal LogicCodeEvaluatable.evaluateLogic(Context context)
          evaluate this logic code in the specified context
 Literal Literal.evaluateLogic(Context context)
          a literal is an atomic value, so this just returns itself
 Literal Identifier.evaluateLogic(Context context)
          returns the value of the variable whose name is specified by this identifier
 Literal ExpressionLeftAssociative.evaluateLogic(Context context)
          evaluate this expression in the specified context
 Literal Expression.evaluateLogic(Context context)
          evaluate this expression in the specified context
 Literal ConditionalOrExpression.evaluateLogic(Context context)
          evaluate this expression in the specified context
 Literal ConditionalAndExpression.evaluateLogic(Context context)
          evaluate this expression in the specified context
 Literal Assignment.evaluateLogic(Context context)
          evaluate this logic code in the specified context
static boolean ConditionalOrExpression.evaluateOR(Context context, Literal leftOperand, java.util.Vector<ConditionalAndExpression> rightOperands)
          Returns the short-circuit evaluation of the expression leftOperand || rightOperands[0] || rightOperands[1] ...
 LiteralType UnaryExpression.evaluateTypeOnly(java.util.HashMap<java.lang.String,LiteralType> varTypes, java.util.HashMap<java.lang.String,TestData> testsInfo)
           
 LiteralType TestResultValue.evaluateTypeOnly(java.util.HashMap<java.lang.String,LiteralType> varTypes, java.util.HashMap<java.lang.String,TestData> testsInfo)
           
 LiteralType TestConfigValue.evaluateTypeOnly(java.util.HashMap<java.lang.String,LiteralType> varTypes, java.util.HashMap<java.lang.String,TestData> testsInfo)
           
 LiteralType PrimaryExpression.evaluateTypeOnly(java.util.HashMap<java.lang.String,LiteralType> varTypes, java.util.HashMap<java.lang.String,TestData> testsInfo)
           
 LiteralType Method.evaluateTypeOnly(java.util.HashMap<java.lang.String,LiteralType> varTypes, java.util.HashMap<java.lang.String,TestData> testsInfo)
           
 LiteralType LogicCodeEvaluatable.evaluateTypeOnly(java.util.HashMap<java.lang.String,LiteralType> varTypes, java.util.HashMap<java.lang.String,TestData> testsInfo)
          returns the kind of literal this evaluates to
 LiteralType Literal.evaluateTypeOnly(java.util.HashMap<java.lang.String,LiteralType> varTypes, java.util.HashMap<java.lang.String,TestData> testsInfo)
           
 LiteralType Identifier.evaluateTypeOnly(java.util.HashMap<java.lang.String,LiteralType> varTypes, java.util.HashMap<java.lang.String,TestData> testsInfo)
           
 LiteralType ExpressionLeftAssociative.evaluateTypeOnly(java.util.HashMap<java.lang.String,LiteralType> varTypes, java.util.HashMap<java.lang.String,TestData> testsInfo)
           
 LiteralType Expression.evaluateTypeOnly(java.util.HashMap<java.lang.String,LiteralType> varTypes, java.util.HashMap<java.lang.String,TestData> testsInfo)
           
 LiteralType ConditionalOrExpression.evaluateTypeOnly(java.util.HashMap<java.lang.String,LiteralType> varTypes, java.util.HashMap<java.lang.String,TestData> testsInfo)
           
 LiteralType ConditionalAndExpression.evaluateTypeOnly(java.util.HashMap<java.lang.String,LiteralType> varTypes, java.util.HashMap<java.lang.String,TestData> testsInfo)
           
 LiteralType Assignment.evaluateTypeOnly(java.util.HashMap<java.lang.String,LiteralType> varTypes, java.util.HashMap<java.lang.String,TestData> testsInfo)
           
 void VoidMethod.executeLogic(Context context)
          execute the method called in the specified context
 void VariableInitialization.executeLogic(Context context)
          process this logic code in the specified context
 void Statement.executeLogic(Context context)
          execute this statement
 void LogicUnit.executeLogic(Context context)
          execute the main code block
 void LogicCodeExecutable.executeLogic(Context context)
          execute this logic code in the specified context
 void IfStatement.executeLogic(Context context)
          process this logic code in the specified context
 void Block.executeLogic(Context context)
          execute all block statements in this block
 void Assignment.executeLogic(Context context)
          process this logic code in the specified context
 void VoidMethod.validateTypes(java.util.HashMap<java.lang.String,LiteralType> varTypes, java.util.HashMap<java.lang.String,TestData> testsInfo)
           
 void VariableInitialization.validateTypes(java.util.HashMap<java.lang.String,LiteralType> varTypes, java.util.HashMap<java.lang.String,TestData> testsInfo)
           
 void Statement.validateTypes(java.util.HashMap<java.lang.String,LiteralType> varTypes, java.util.HashMap<java.lang.String,TestData> testsInfo)
           
 void LogicUnit.validateTypes(java.util.HashMap<java.lang.String,LiteralType> varTypes, java.util.HashMap<java.lang.String,TestData> testsInfo)
           
 void LogicCodeExecutable.validateTypes(java.util.HashMap<java.lang.String,LiteralType> varTypes, java.util.HashMap<java.lang.String,TestData> testsInfo)
          Attempts to validate the type-correctness of all constituent LogicCodeEvaluatable logic code.
 void IfStatement.validateTypes(java.util.HashMap<java.lang.String,LiteralType> varTypes, java.util.HashMap<java.lang.String,TestData> testsInfo)
           
 void Block.validateTypes(java.util.HashMap<java.lang.String,LiteralType> varTypes, java.util.HashMap<java.lang.String,TestData> testsInfo)
           
 void Assignment.validateTypes(java.util.HashMap<java.lang.String,LiteralType> varTypes, java.util.HashMap<java.lang.String,TestData> testsInfo)
           
 

Uses of LogicException in cdx.scorebot.scoring.logic.parser
 

Methods in cdx.scorebot.scoring.logic.parser with parameters of type LogicException
 java.lang.String LogicParser.generateInformedLogicException(LogicException e)
          generates a LogicException documented with the specified line and column at which the error occurred (the stack trace is preserved)
 

Methods in cdx.scorebot.scoring.logic.parser that throw LogicException
 java.lang.String LogicParser.generateInformedLogicException(LogicException e)
          generates a LogicException documented with the specified line and column at which the error occurred (the stack trace is preserved)
 java.lang.String LogicParser.generateInformedLogicException(TokenMgrError e)
          generates a LogicException documented with the specified line and column at which the error occurred (the stack trace is preserved)
static void LogicParser.main(java.lang.String[] args)
           
 LogicUnit LogicParser.parseString(java.lang.String code)
          parse the specified code into a LogicUnit
 LogicUnit LogicParser.parseString(java.lang.String code, java.util.HashMap<java.lang.String,TestData> testsInfo)
          parse the specified code into a LogicUnit
 AdditiveExpression LogicParser.prAdditiveExpression()
           
 ArgumentList LogicParser.prArgumentList()
           
 Arguments LogicParser.prArguments()
           
 Assignment LogicParser.prAssignment()
           
 Block LogicParser.prBlock()
           
 BlockStatementType LogicParser.prBlockStatement()
           
 ConditionalAndExpression LogicParser.prConditionalAndExpression()
           
 ConditionalOrExpression LogicParser.prConditionalOrExpression()
           
 EqualityExpression LogicParser.prEqualityExpression()
           
 ConditionalXorExpression LogicParser.prExclusiveOrExpression()
           
 Expression LogicParser.prExpression()
           
 IfStatement LogicParser.prIfStatement()
           
 Literal LogicParser.prLiteral()
           
 LogicUnit LogicParser.prLogicUnit()
           
 Method LogicParser.prMethod()
           
 Identifier LogicParser.prMethodIdentifier()
           
 MultiplicativeExpression LogicParser.prMultiplicativeExpression()
           
 PrimaryExpression LogicParser.prPrimaryExpression()
           
 RelationalExpression LogicParser.prRelationalExpression()
           
 Statement LogicParser.prStatement()
           
 TestIdentifier LogicParser.prTestIdentifier()
           
 UnaryExpression LogicParser.prUnaryExpression()
           
 VariableInitialization LogicParser.prVariableInitialization()
           
 VoidMethod LogicParser.prVoidMethod()
           
 Identifier LogicParser.prVoidMethodIdentifier()