com.google.caliper.util
Class DisplayUsageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.google.caliper.util.InvalidCommandException
              extended by 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

Constructor Summary
DisplayUsageException()
           
 
Method Summary
 void display(PrintWriter writer)
           
 int exitCode()
           
 
Methods inherited from class com.google.caliper.util.InvalidCommandException
setUsage
 
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

DisplayUsageException

public DisplayUsageException()
Method Detail

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.