com.google.caliper.util
Class InvalidCommandException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Constructor Summary
InvalidCommandException(String message, Object... args)
           
 
Method Summary
 void display(PrintWriter writer)
           
 int exitCode()
           
 void setUsage(List<String> usage)
           
 
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

InvalidCommandException

public InvalidCommandException(String message,
                               Object... args)
Method Detail

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.