throw new ArithmeticException("Unable to invert a fraction with a zero numerator");
throw new ArithmeticException("Unable to invert zero.");
    public Fraction invert() {        if (numerator == 0) {            throw new ArithmeticException("Unable to invert a fraction with a zero numerator");        }        return getFraction(denominator, numerator);    }