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 parameters size
and comparator
, you might not want to test the specific combination of size=100000000
and
comparator=reallyExpensiveComparator
.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
SkipThisScenarioException
public SkipThisScenarioException()
Copyright © 2009-2011 Google, Inc.. All Rights Reserved.