}
private void checkParameters(ShiftDistribution shiftDistribution, ExecutionDegree executionDegree, Shift shift,
Integer abstractStudentNumber) {
if (shiftDistribution == null) {
throw new DomainException("error.candidacy.degree.ShiftDistributionEntry.shiftDistribution.cannot.be.null");
}
if (executionDegree == null) {
throw new DomainException("error.candidacy.degree.ShiftDistributionEntry.executionDegree.cannot.be.null");
}
if (shift == null) {
throw new DomainException("error.candidacy.degree.ShiftDistributionEntry.shift.cannot.be.null");
}
if (abstractStudentNumber == null) {
throw new DomainException("error.candidacy.degree.ShiftDistributionEntry.abstractStudentNumber.cannot.be.null");
}
}