throwIndexOutOfBoundsException("DataSet::getIndividualAtPositionFromGroup: individual_position out of bouds.",ioobe.getBadIndex(),ioobe.getBounds()[0],ioobe.getBounds()[1]);
}
@@ -485,7 +485,7 @@ const Individual* DataSet::getIndividualByIdFromGroup(size_t group_position, con
throwIndexOutOfBoundsException("DataSet::deleteIndividualAtPositionFromGroup: individual_position out of bounds.",ioobe.getBadIndex(),ioobe.getBounds()[0],ioobe.getBounds()[1]);
throwIndividualNotFoundException("DataSet::deleteIndividualByIdFromGroup: individual_id not found.",infe.getIdentifier());
}
@@ -585,7 +585,7 @@ const Date* DataSet::getIndividualDateInGroup(size_t group_position, size_t indi
{
throwIndexOutOfBoundsException("DataSet::getIndividualDateInGroup: individual_position out of bounds.",ioobe.getBadIndex(),ioobe.getBounds()[0],ioobe.getBounds()[1]);
}
catch(NullPointerException)
catch(NullPointerException&)
{
throwNullPointerException("DataSet::getIndividualDateInGroup: individual has no date.");
throwIndexOutOfBoundsException("DataSet::getIndividualCoordAtPosition: individual_position out of bounds.",ioobe.getBadIndex(),ioobe.getBounds()[0],ioobe.getBounds()[1]);
}
catch(NullPointerException)
catch(NullPointerException&)
{
throwNullPointerException("DataSet::getIndividualCoordInGroup: individual has no coordinate.");
throwIndexOutOfBoundsException("DataSet::getIndividualLocalityInGroup: individual_position out of bounds.",ioobe.getBadIndex(),ioobe.getBounds()[0],ioobe.getBounds()[1]);
}
catch(NullPointerException)
catch(NullPointerException&)
{
throwNullPointerException("DataSet::getIndividualLocalityInGroup: individual has no locality.");
throwIndexOutOfBoundsException("DataSet::getIndividualSequenceByNameInGroup: individual_position out of bounds.",ioobe.getBadIndex(),ioobe.getBounds()[0],ioobe.getBounds()[1]);
}
catch(NullPointerException)
catch(NullPointerException&)
{
throwNullPointerException("DataSet::getIndividualSequenceByNameInGroup: individual has no sequences.");
throwIndexOutOfBoundsException("DataSet::getIndividualSequenceAtPositionInGroup: sequence_position out of bounds.",ioobe.getBadIndex(),ioobe.getBounds()[0],ioobe.getBounds()[1]);
}
catch(NullPointerException)
catch(NullPointerException&)
{
throwNullPointerException("DataSet::getIndividualSequenceAtPositionInGroup: individual has no sequences.");
throwIndexOutOfBoundsException("DataSet::deleteIndividualSequenceByNameInGroup: individual_position out of bounds.",ioobe.getBadIndex(),ioobe.getBounds()[0],ioobe.getBounds()[1]);
}
catch(NullPointerException)
catch(NullPointerException&)
{
throwNullPointerException("DataSet::deleteIndividualSequenceByNameInGroup: individual has no sequences.");
}
@@ -786,7 +786,7 @@ void DataSet::deleteIndividualSequenceAtPositionInGroup(size_t group_position, s
else
throwIndexOutOfBoundsException("DataSet::deleteIndividualSequenceAtPositionInGroup: sequence_position out of bounds.",ioobe.getBadIndex(),ioobe.getBounds()[0],ioobe.getBounds()[1]);
}
catch(NullPointerException)
catch(NullPointerException&)
{
throwNullPointerException("DataSet::deleteIndividualSequenceAtPositionInGroup: individual has no sequences.");
throwIndexOutOfBoundsException("DataSet::getIndividualSequencesNamesInGroup: individual_position out of bounds.",ioobe.getBadIndex(),ioobe.getBounds()[0],ioobe.getBounds()[1]);
}
catch(NullPointerException)
catch(NullPointerException&)
{
throwNullPointerException("DataSet::getIndividualSequencesNamesInGroup: individual has no sequences.");
throwIndexOutOfBoundsException("DataSet::getIndividualSequencePositionInGroup: individual_position out of bounds.",ioobe.getBadIndex(),ioobe.getBounds()[0],ioobe.getBounds()[1]);
}
catch(NullPointerException)
catch(NullPointerException&)
{
throwNullPointerException("DataSet::getIndividualSequencePositionInGroup: individual has no sequences.");
}
@@ -850,7 +850,7 @@ size_t DataSet::getIndividualNumberOfSequencesInGroup(size_t group_position, siz
{
throwIndexOutOfBoundsException("DataSet::getIndividualNumberOfSequencesInGroup: individual_position out of bounds.",ioobe.getBadIndex(),ioobe.getBounds()[0],ioobe.getBounds()[1]);
}
catch(NullPointerException)
catch(NullPointerException&)
{
throwNullPointerException("DataSet::getIndividualNumberOfSequencesInGroup: individual has no sequences.");
throwIndexOutOfBoundsException("DataSet::setIndividualMonolocusGenotypeInGroup: locus_position out of bounds.",ioobe.getBadIndex(),ioobe.getBounds()[0],ioobe.getBounds()[1]);
}
catch(NullPointerException)
catch(NullPointerException&)
{
throwNullPointerException("DataSet::setIndividualMonolocusGenotypeInGroup: individual has no genotype.");
throwIndexOutOfBoundsException("DataSet::setIndividualMonolocusGenotypeByAlleleKeyInGroup: locus_position out of bounds.",ioobe.getBadIndex(),ioobe.getBounds()[0],ioobe.getBounds()[1]);
}
catch(NullPointerException)
catch(NullPointerException&)
{
throwNullPointerException("DataSet::setIndividualMonolocusGenotypeByAlleleKeyInGroup: individual has no genotype.");
}
catch(Exception)
catch(Exception&)
{
throwException("DataSet::setIndividualMonolocusGenotypeByAlleleKeyInGroup: no key in allele_keys.");
throwIndexOutOfBoundsException("DataSet::setIndividualMonolocusGenotypeByAlleleIdInGroup: locus_position out of bounds.",ioobe.getBadIndex(),ioobe.getBounds()[0],ioobe.getBounds()[1]);
}
catch(NullPointerException)
catch(NullPointerException&)
{
throwNullPointerException("DataSet::setIndividualMonolocusGenotypeByAlleleIdInGroup: individual has no genotype.");
}
@@ -1015,7 +1015,7 @@ const MonolocusGenotype* DataSet::getIndividualMonolocusGenotypeInGroup(size_t g
else
throwIndexOutOfBoundsException("DataSet::getIndividualMonolocusGenotypeInGroup: locus_position out of bounds.",ioobe.getBadIndex(),ioobe.getBounds()[0],ioobe.getBounds()[1]);
}
catch(NullPointerException)
catch(NullPointerException&)
{
throwNullPointerException("DataSet::getIndividualMonolocusGenotypeInGroup: individual has no genotype.");
throwIndexOutOfBoundsException("Group::setIndividualMonolocusGenotypeByAlleleKey: locus_position excedes the number of locus.",ioobe.getBadIndex(),ioobe.getBounds()[0],ioobe.getBounds()[1]);
}
catch(Exception)
catch(Exception&)
{
throwException("Group::setIndividualMonolocusGenotypeByAlleleKey: no key in allele_keys.");