org.freecompany.yacli
Class InvalidCommandException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.freecompany.yacli.InvalidCommandException
All Implemented Interfaces:
java.io.Serializable

public class InvalidCommandException
extends java.lang.Exception

See Also:
Serialized Form

Field Summary
protected  InvalidOptionException e
           
protected  Options options
           
protected  java.lang.String usage
           
 
Constructor Summary
InvalidCommandException(InvalidOptionException e, Options options, java.lang.String usage)
           
 
Method Summary
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

e

protected InvalidOptionException e

options

protected Options options

usage

protected java.lang.String usage
Constructor Detail

InvalidCommandException

public InvalidCommandException(InvalidOptionException e,
                               Options options,
                               java.lang.String usage)
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable