Class MZTabException

  • All Implemented Interfaces:
    Serializable

    public class MZTabException
    extends Exception
    Wrap a MZTabError. This exception mainly used in parse the metadata section of mzTab file. Once raise exception, system will stop validate and output the error messages. NOTICE: In some special situation, the consistency constraints SHOULD be maintain in metadata section, for example: the assay[n]-sample_ref, study_variable[1-n]-assay_refs and so on. We suggest user raise this exception very carefully, because of this break the continuous validate principle. During process the value format, system will add the MZTabError into MZTabErrorList, instead of raise the exception directly. And all errors will output after validate the whole mzTab file.
    Since:
    29/01/13
    Author:
    qingwei
    See Also:
    Serialized Form
    • Constructor Detail

      • MZTabException

        public MZTabException​(String message)

        Constructor for MZTabException.

        Parameters:
        message - a String object.
      • MZTabException

        public MZTabException​(MZTabError error)

        Constructor for MZTabException.

        Parameters:
        error - a MZTabError object.
    • Method Detail