com.google.caliper
Class UserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.google.caliper.UserException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
UserException.ErrorInUsageException, UserException.ErrorInUserCodeException, UserException.ExceptionFromUserCodeException

public abstract class UserException
extends RuntimeException

Signifies a problem that should be explained in user-friendly terms on the command line, without a confusing stack trace, and optionally followed by a usage summary.

See Also:
Serialized Form

Nested Class Summary
static class UserException.AbstractBenchmarkException
           
static class UserException.CantCustomizeInProcessVmException
           
static class UserException.DisplayUsageException
           
static class UserException.DoesNotScaleLinearlyException
           
static class UserException.DoesntImplementBenchmarkException
           
static class UserException.DuplicateParameterException
           
static class UserException.ErrorInUsageException
           
static class UserException.ErrorInUserCodeException
           
static class UserException.ExceptionFromUserCodeException
           
static class UserException.IncompatibleArgumentsException
           
static class UserException.InvalidDebugRepsException
           
static class UserException.InvalidParameterValueException
           
static class UserException.InvalidTrialsException
           
static class UserException.MalformedParameterException
           
static class UserException.MultipleBenchmarkClassesException
           
static class UserException.NoBenchmarkClassException
           
static class UserException.NonConstantMemoryUsage
           
static class UserException.NoParameterlessConstructorException
           
static class UserException.NoSuchClassException
           
static class UserException.RuntimeOutOfRangeException
           
static class UserException.UnrecognizedOptionException
           
 
Method Summary
abstract  void display()
           
 
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
 

Method Detail

display

public abstract void display()


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