com.google.caliper.api
Class SkipThisScenarioException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Constructor Summary
SkipThisScenarioException()
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SkipThisScenarioException

public SkipThisScenarioException()


Copyright © 2009-2011 Google, Inc.. All Rights Reserved.