Uses of Class
bcds.tools.ArgsParserException

Packages that use ArgsParserException
bcds.tools   
 

Uses of ArgsParserException in bcds.tools
 

Methods in bcds.tools that throw ArgsParserException
 boolean ArgsParser.getBool(java.lang.String id, boolean defval)
          Returns an option's boolean value represented as an integer (if present) or the value given in defval otherwise.
 double ArgsParser.getDouble(java.lang.String id, double defval)
          Returns an option's argument as a double (if present) or the value given in defval otherwise.
<T extends java.lang.Enum<? super T>>
T
ArgsParser.getEnum(java.lang.String id, java.lang.Class<T> enum_class, T defval)
          Returns the enumeration corresponding an option's argument.
<T extends java.lang.Enum>
java.util.Set<T>
ArgsParser.getEnumSet(java.lang.String id, java.lang.Class<T> enum_class)
          Collects the items of an option's argument into a set.
<T extends java.lang.Enum>
java.util.Set<T>
ArgsParser.getEnumSet(java.lang.String id, java.lang.Class<T> enum_class, T defval)
          Returns the set of values found, or a set with defval as its only value if no value exists for id.
 int ArgsParser.getInt(java.lang.String id, int defval)
          Returns an option's argument as an integer, if present, or the value given in defval otherwise.
 java.lang.String ArgsParser.getStr(java.lang.String id, java.lang.String defval)
          Returns an option's argument as a string, if present, or the value given in defval otherwise.
static void ArgsParser.raise(ArgsParserException.ErrorCode err, java.lang.String msg)
          Throws an exception with the given error code and message.
static void ArgsParser.raise(ArgsParserException.ErrorCode err, java.lang.String fmt, java.lang.Object... msg)
          Throws an exception with the given error code and message.
static void ArgsParser.raise(java.lang.String fmt, java.lang.Object... msg)
          Throws an exception with error code GENERIC.
static void ArgsParser.raiseBadUsage(java.lang.String fmt, java.lang.Object... msg)
          Throws and exception with error code BAD_USAGE and and the given message.
 java.util.List<java.lang.String> ArgsParser.readArgsFromFile(java.lang.String fname)
          Reads command-line like arguments from the file fname.
 

Constructors in bcds.tools that throw ArgsParserException
ArgsParser(java.lang.String[] opts, java.lang.String[] args)
          Creates a new instance.