com.Ostermiller.util Java Utilities


com.Ostermiller.util
Class UnknownCmdLnOptionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by com.Ostermiller.util.CmdLnException
                      extended by com.Ostermiller.util.UnknownCmdLnOptionException
All Implemented Interfaces:
Serializable

public class UnknownCmdLnOptionException
extends CmdLnException

Exception thrown when a command line option that was unexpected is found.

See Also:
Serialized Form

Constructor Summary
UnknownCmdLnOptionException()
          Constructs an UnknownCmdLnOptionException
 
Method Summary
 String getArgument()
          Get the argument that caused this exception
 String getMessage()
           
 String getOption()
          Get the option that caused this exception
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnknownCmdLnOptionException

public UnknownCmdLnOptionException()
Constructs an UnknownCmdLnOptionException

Method Detail

getArgument

public String getArgument()
Get the argument that caused this exception

Returns:
the argument

getOption

public String getOption()
Get the option that caused this exception

Returns:
the option

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

com.Ostermiller.util Java Utilities


Copyright © 2001-2012 by Stephen Ostermiller