Class ParseException

    • Method Detail

      • newMessage

        public static String newMessage​(Class format,
                                        String accession,
                                        String identifier,
                                        String comments,
                                        String parseBlock)
        Make a new error message.
        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
        the formatted error message