Class ExceptionResult


public class ExceptionResult extends CallResult
The result returned if a call resulted in an exception.
Author:
Rene Schneider - initial API and implementation
  • Constructor Details

    • ExceptionResult

      public ExceptionResult(Throwable anException, List<CallResult.UpdatedVariable> someVariablesToUpdate, FixtureWrapper<?> aFixtureInstance, String aFixtureMethod, Long anExecutionTime, List<ExtendedResultFixture.ExtendedResult> someExtendedResults)
      Creates a new instance.
      Parameters:
      anException - the exception that was thrown
      someVariablesToUpdate - the variables that were to be updated
      aFixtureInstance - The fixture instance (wrapped) - may be null if no fixtures are called in the current phase (for example during the dry run).
      aFixtureMethod - the method that was executed
      anExecutionTime - the time it took to execute the call
      someExtendedResults - any extended results returned by the fixture
  • Method Details