Class ParseException

All Implemented Interfaces:
Serializable

public class ParseException extends BioException
ParseException should be thrown to indicate that there was a problem with parsing sequence information.
Author:
Matthew Pocock
See Also:
  • Constructor Details

  • Method Details

    • newMessage

      public static String newMessage(Class format, String accession, String identifier, String comments, String parseBlock)
      Make a new error message.
      Parameters:
      format - the format object that was doing the parsing
      accession - the accession number of the record that failed
      identifier - the identifier of the sequence that failed (eg the GI number for genbank)
      comments - any additional information
      parseBlock - the chunk of the file the parser was trying to parse when the error occured
      Returns:
      the formatted error message