randoop
Class ExceptionalExecution

Object
  extended by ExecutionOutcome
      extended by ExceptionalExecution

public class ExceptionalExecution
extends ExecutionOutcome

Means that the execution of a statement threw an exception.


Constructor Summary
Constructor and Description
ExceptionalExecution(Throwable exception, long executionTime)
           
 
Method Summary
Modifier and Type Method and Description
 Throwable getException()
           
 long getExecutionTime()
          How long the associated statement took to execute.
 String toString()
          Warning: this method calls toString() of code under test, which may have arbitrary behavior.
 
Methods inherited from class ExecutionOutcome
get_output, set_output
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExceptionalExecution

public ExceptionalExecution(Throwable exception,
                            long executionTime)
Method Detail

getException

public Throwable getException()

toString

public String toString()
Warning: this method calls toString() of code under test, which may have arbitrary behavior. We use this method in randoop.test.SequenceTests.

Overrides:
toString in class Object

getExecutionTime

public long getExecutionTime()
Description copied from class: ExecutionOutcome
How long the associated statement took to execute.

Specified by:
getExecutionTime in class ExecutionOutcome