Class MZTabError

  • All Implemented Interfaces:
    Serializable

    public class MZTabError
    extends Object
    implements Serializable
    mzTab files can be validated to ensure that they comply with the latest version of the format specification. The process includes two steps: first of all the basic model architecture is created, including the metadata section and the generation of the table column headers. The second step is the validation of the column rows, which take most of the processing time. The class MZTabFileParser is used to parse and validate the mzTab files. If the validation is successful, an MZTabFile model will be then generated. A series of messages are then reported, which can help to diagnose different types of format-related (reporting format problems) and/or logical (reporting errors related to the logical relationships among the different sections in a file) errors. At the moment of writing, there are about sixty types of error messages (http://mztab.googlecode.com/wiki/jmzTab_message). The validation messages have a unique identifier and are classified in three levels: Info, Warn and Error, according to the requirements included in the specification document.
    Since:
    06/02/13
    Author:
    qingwei
    See Also:
    Serialized Form
    • Constructor Detail

      • MZTabError

        public MZTabError​(MZTabErrorType type,
                          int lineNumber,
                          String... values)
        System will fill a couple of values one by one, and generate a concrete error message during parse lineNumber line in mzTab file.
        Parameters:
        type - SHOULD NOT null.
        lineNumber - SHOULD be positive integer. Except "-1", which means the line number unknown.
        values - May be null, if no variable in error's original pattern.