Package Exceptions

Class WrongNumberOfSNPsException

  • All Implemented Interfaces:
    java.io.Serializable

    public class WrongNumberOfSNPsException
    extends DataException
    Exception to be thrown if a sample has the wrong number of SNPs
    See Also:
    Serialized Form
    • Method Summary

      • 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

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

      • WrongNumberOfSNPsException

        public WrongNumberOfSNPsException​(java.lang.String s)
        Constructor for use when the sample name is known
        Parameters:
        s - The name of the sample with the wrong number of SNPs
      • WrongNumberOfSNPsException

        public WrongNumberOfSNPsException​(int i)
        Constructor for use when the sample name is not known
        Parameters:
        i - The line of the file corresponding to the sample with the wrong number of SNPs