* @throws IncorrectDistributionParameterException if p is not betwen zero and one or if lambda1 and labda2 are not both greater than zero.
*
*/
private void testParameters1() throws IncorrectDistributionParameterException {
if (p <= 0 || p >= 1) {
throw new IncorrectDistributionParameterException("Error: must be 0 < p < 1");
}
if (lambda1 <= 0) {
throw new IncorrectDistributionParameterException("Error: lambda1 must be >= 0");
}
if (lambda2 <= 0) {
throw new IncorrectDistributionParameterException("Error: lambda2 must be >= 0");
}
}