bpiwowar.argparser
Class ArgParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
bpiwowar.argparser.ArgParserException
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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 argumentmsg
- Error message
ArgParseException
public ArgParseException(Throwable cause,
String format,
Object... args)
Copyright © 2013. All Rights Reserved.