Package com.google.caliper.core
Class UserCodeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.google.caliper.core.InvalidBenchmarkException
-
- com.google.caliper.core.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
Constructors Constructor Description UserCodeException(String message)UserCodeException(String message, Throwable cause)UserCodeException(Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisplay(PrintWriter writer)-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
display
public void display(PrintWriter writer)
- Overrides:
displayin classInvalidBenchmarkException
-
-