Package com.google.caliper.api
Class SkipThisScenarioException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.google.caliper.api.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 parameterssizeandcomparator, you might not want to test the specific combination ofsize=100000000andcomparator=reallyExpensiveComparator.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SkipThisScenarioException()
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-