Class SkipThisScenarioException

  • All Implemented Interfaces:
    Serializable

    public final class SkipThisScenarioException
    extends RuntimeException
    Throw this exception from your benchmark class's setUp method, or benchmark method to indicate that the combination of parameters supplied should not be benchmarked. For example, while you might want to test most combinations of the parameters size and comparator, you might not want to test the specific combination of size=100000000 and comparator=reallyExpensiveComparator.
    See Also:
    Serialized Form
    • Constructor Detail

      • SkipThisScenarioException

        public SkipThisScenarioException()