public void setWarningLevel(int level) {
        if (level < WarningMessage.NONE || level > WarningMessage.PARANOIA) {
            this.warningLevel = WarningMessage.LIKELY_ERRORS;
        }
        else {
            this.warningLevel = level;
        }
    }
public void setWarningLevel ( int level ) { if ( level < WarningMessage . NONE || level > WarningMessage . PARANOIA ) { this . warningLevel = WarningMessage . LIKELY_ERRORS ; } else { this . warningLevel = level ; } }
Sets the warning level. See {@link WarningMessage} for level details.