Voice[] voices = super.getVoices();
javax.speech.synthesis.Voice[] voices = super.getVoices();
    public void validate() throws ValidationException {        Voice[] voices = super.getVoices();        int invalidCount = 0;        String validationMessage = "";        for (int i = 0; i < voices.length; i++) {            try {                ((FreeTTSVoice) voices[i]).validate();            } catch (ValidationException ve) {                invalidCount++;                validationMessage += (ve.getMessage() + "\n");            }        }        if (invalidCount == voices.length) {            throw new ValidationException                (validationMessage + getModeName() + " has no valid voices.");        }    }