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