protected void writeError(String toWrite, boolean severe) {
        if (toWrite != null && !toWrite.contains("Duplicate")) {
            if (severe) {
                this.log.severe(this.PREFIX + this.DATABASE_PREFIX + toWrite);
            } else {
                this.log.warning(this.PREFIX + this.DATABASE_PREFIX + toWrite);
            }
        }
    }