com.google.caliper.util
Class InvalidCommandException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.google.caliper.util.InvalidCommandException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- DisplayUsageException
public class InvalidCommandException
- extends Exception
Exception that signifies that the user has given an invalid argument string.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
InvalidCommandException
public InvalidCommandException(String message,
Object... args)
setUsage
public void setUsage(List<String> usage)
display
public void display(PrintWriter writer)
exitCode
public int exitCode()
Copyright © 2009-2011 Google, Inc.. All Rights Reserved.