BenchmarkError

  • BenchmarkError is a data class extending Object used to represent benchmark errors.

  • The BenchmarkError class contains a nested enum, BenchmarkStage, indicating when an error occurred during benchmark execution.

  • Public methods provide access to the benchmark error code, process exit code, signal received by the process, and the stage benchmarking reached.

public abstract class BenchmarkError extends Object

Data class that contains BenchmarkError. Use Object.toString() to get readable benchmark error representation.

Nested Class Summary

enum BenchmarkError.BenchmarkStage When during benchmark execution an error occurred. 

Public Method Summary

abstract int
benchmarkErrorCode()
Returns benchmark error code.
abstract int
exitCode()
Returns process exit code.
abstract int
signal()
Returns signal the process received.
abstract BenchmarkError.BenchmarkStage
stage()
Returns how far benchmarking got.

Inherited Method Summary

Public Methods

public abstract int benchmarkErrorCode ()

Returns benchmark error code.

public abstract int exitCode ()

Returns process exit code.

public abstract int signal ()

Returns signal the process received.

public abstract BenchmarkError.BenchmarkStage stage ()

Returns how far benchmarking got.