public class ParseException extends BioException
Constructor and Description |
---|
ParseException() |
ParseException(java.lang.String message) |
ParseException(java.lang.Throwable nested) |
ParseException(java.lang.Throwable nested,
java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
newMessage(java.lang.Class format,
java.lang.String accession,
java.lang.String identifier,
java.lang.String comments,
java.lang.String parseBlock)
Make a new error message.
|
public ParseException()
public ParseException(java.lang.String message)
public ParseException(java.lang.Throwable nested)
public ParseException(java.lang.Throwable nested, java.lang.String message)
public static java.lang.String newMessage(java.lang.Class format, java.lang.String accession, java.lang.String identifier, java.lang.String comments, java.lang.String parseBlock)
format
- the format object that was doing the parsingaccession
- the accession number of the record that failedidentifier
- the identifier of the sequence that failed (eg the GI number for genbank)comments
- any additional informationparseBlock
- the chunk of the file the parser was trying to parse when the error occured