001package uk.ac.ebi.pride.jmztab2.utils.errors;
002
003/**
004 * Runtime exception for mzTab conversion
005 *
006 * @author Rui Wang
007 */
008public class MZTabConversionException extends RuntimeException {
009
010    /** Constant <code>ERROR_AMBIGUITY="mzTab do not support one protein in mor"{trunked}</code> */
011    public static final String ERROR_AMBIGUITY = "mzTab do not support one protein in more than one ambiguity groups.";
012
013    /**
014     * <p>Constructor for MZTabConversionException.</p>
015     */
016    public MZTabConversionException() {
017    }
018
019    /**
020     * <p>Constructor for MZTabConversionException.</p>
021     *
022     * @param message a {@link java.lang.String} object.
023     */
024    public MZTabConversionException(String message) {
025        super(message);
026    }
027
028    /**
029     * <p>Constructor for MZTabConversionException.</p>
030     *
031     * @param message a {@link java.lang.String} object.
032     * @param cause a {@link java.lang.Throwable} object.
033     */
034    public MZTabConversionException(String message, Throwable cause) {
035        super(message, cause);
036    }
037
038    /**
039     * <p>Constructor for MZTabConversionException.</p>
040     *
041     * @param cause a {@link java.lang.Throwable} object.
042     */
043    public MZTabConversionException(Throwable cause) {
044        super(cause);
045    }
046}