com.google.caliper.runner
Class UserCodeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.google.caliper.runner.InvalidBenchmarkException
              extended by com.google.caliper.runner.UserCodeException
All Implemented Interfaces:
Serializable

public class UserCodeException
extends InvalidBenchmarkException

Signifies that the user's benchmark code threw an exception.

See Also:
Serialized Form

Constructor Summary
UserCodeException(String message, Throwable cause)
           
UserCodeException(Throwable cause)
           
 
Method Summary
 void display(PrintWriter writer)
           
 
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

UserCodeException

public UserCodeException(String message,
                         Throwable cause)

UserCodeException

public UserCodeException(Throwable cause)
Method Detail

display

public void display(PrintWriter writer)
Overrides:
display in class InvalidBenchmarkException


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