com.google.caliper.util
Class DisplayUsageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.google.caliper.util.InvalidCommandException
com.google.caliper.util.DisplayUsageException
- All Implemented Interfaces:
- Serializable
public final class DisplayUsageException
- extends InvalidCommandException
Exception used to abort command-line processing because the user has asked for help (using either
--help or -h).
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
DisplayUsageException
public DisplayUsageException()
display
public void display(PrintWriter writer)
- Overrides:
display
in class InvalidCommandException
exitCode
public int exitCode()
- Overrides:
exitCode
in class InvalidCommandException
Copyright © 2009-2011 Google, Inc.. All Rights Reserved.