Class MZTabException

  • All Implemented Interfaces:
    java.io.Serializable

    public class MZTabException
    extends java.lang.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      MZTabError getError()
      Getter for the field error.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MZTabException

        public MZTabException​(java.lang.String message)

        Constructor for MZTabException.

        Parameters:
        message - a String object.
      • MZTabException

        public MZTabException​(MZTabError error)

        Constructor for MZTabException.

        Parameters:
        error - a MZTabError object.
      • MZTabException

        public MZTabException​(MZTabError error,
                              java.lang.Throwable cause)

        Constructor for MZTabException.

        Parameters:
        error - a MZTabError object.
        cause - a Throwable object.
    • Method Detail