bpiwowar.argparser
Class ArgParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by bpiwowar.argparser.ArgParserException
              extended by bpiwowar.argparser.ArgParseException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
UnmatchedArgumentException

public class ArgParseException
extends ArgParserException

Exception class used by ArgParser when command line arguments contain an error.

See Also:
ArgParser, Serialized Form

Constructor Summary
ArgParseException(String msg)
          Creates a new ArgParseException with the given message.
ArgParseException(String format, Object... args)
          Creates a new ArgParseException from the given argument and message.
ArgParseException(Throwable cause, String format, Object... args)
           
 
Method Summary
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArgParseException

public ArgParseException(String msg)
Creates a new ArgParseException with the given message.

Parameters:
msg - Exception message

ArgParseException

public ArgParseException(String format,
                         Object... args)
Creates a new ArgParseException from the given argument and message.

Parameters:
arg - Offending argument
msg - Error message

ArgParseException

public ArgParseException(Throwable cause,
                         String format,
                         Object... args)


Copyright © 2013. All Rights Reserved.