Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMsg()
get parse error message/template
|
static java.lang.String |
makeString(ParsE error,
int lineno,
java.lang.Object... args) |
static java.lang.RuntimeException |
toss(ParsE error,
int lineno,
java.lang.Object... args)
method that is used to create a RuntimeException to throw
|
ErrInt<ParsE>[] |
vals() |
static ParsE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParsE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParsE csvTableNameMismatch
public static final ParsE dbaseDeclsTooMany
public static final ParsE ioerror
public static final ParsE parseError
public static final ParsE parseIllformedNumber
public static final ParsE patternEmpty
public static final ParsE runAwayEntry
public static final ParsE runAwayString
public static final ParsE streamEndReached
public static final ParsE subTableDefBeforeDBase
public static final ParsE tableDefBeforeDBase
public static final ParsE tableOnly1Allowed
public static final ParsE tableSchemaParseError
public static final ParsE tupleHasInsufficientValues
public static final ParsE tupleHasInsufficientValues2
public static final ParsE yumlDuplicateBoxDecl
public static final ParsE yumlIntHasFields
public static final ParsE yumlLineParser
public static final ParsE yumlNoteHasFields
public static final ParsE yumlNoteHasMethods
public static ParsE[] values()
for (ParsE c : ParsE.values()) System.out.println(c);
public static ParsE valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getMsg()
public static java.lang.String makeString(ParsE error, int lineno, java.lang.Object... args)
public static java.lang.RuntimeException toss(ParsE error, int lineno, java.lang.Object... args)
error
- -- which parse errorlineno
- -- at what line number (-1 if unknown(args
- -- arguments of parse error message