private void checkArgumentsForResultRetrieval(AbstractStartingHand hand, int numberOfSignificantDigits) {
        if (hand == null) {
            throw new IllegalArgumentException("Hand can't be null");
        }
        if (!startingHands.contains(hand)) {
            throw new IllegalArgumentException("The hand isn't contained in the set of starting hands");
        }
        if (numberOfSignificantDigits <= 0) {
            throw new IllegalArgumentException("Number of significant digits must be positive");
        }
        if (performedSimulations < totalNumberOfSimulationsToPerform) {
            throw new IllegalStateException("Only " + performedSimulations + " of " 
                    + totalNumberOfSimulationsToPerform + " simulations have been performed.");
        }        
    }