public static class GFFErrorHandler.AbortErrorHandler extends java.lang.Object implements GFFErrorHandler
GFFErrorHandler.AbortErrorHandler, GFFErrorHandler.SkipRecordErrorHandler
ABORT_PARSING, SKIP_RECORD
Constructor and Description |
---|
AbortErrorHandler() |
Modifier and Type | Method and Description |
---|---|
int |
invalidEnd(java.lang.String token)
The `end' field of the GFF entry was not a valid value.
|
int |
invalidFrame(java.lang.String token)
The `frame' field of the GFF entry was not a valid value.
|
double |
invalidScore(java.lang.String token)
The `score' field of the GFF entry was not a valid value.
|
int |
invalidStart(java.lang.String token)
The `start' field of the GFF entry was not a valid value.
|
StrandedFeature.Strand |
invalidStrand(java.lang.String token)
The `strand' field of the GFF entry was not a valid value.
|
public int invalidStart(java.lang.String token) throws ParserException
GFFErrorHandler
invalidStart
in interface GFFErrorHandler
token
- The start token found.ParserException
- If parsing should be abortedpublic int invalidEnd(java.lang.String token) throws ParserException
GFFErrorHandler
invalidEnd
in interface GFFErrorHandler
token
- The end token found.ParserException
- If parsing should be abortedpublic double invalidScore(java.lang.String token) throws ParserException
GFFErrorHandler
invalidScore
in interface GFFErrorHandler
token
- The score token found.ParserException
- If parsing should be abortedpublic int invalidFrame(java.lang.String token) throws ParserException
GFFErrorHandler
invalidFrame
in interface GFFErrorHandler
token
- The frame token found.ParserException
- If parsing should be abortedpublic StrandedFeature.Strand invalidStrand(java.lang.String token) throws ParserException
GFFErrorHandler
invalidStrand
in interface GFFErrorHandler
token
- The strand token found.ParserException
- If parsing should be aborted