public Database(Logger log, String prefix, String dp) throws DatabaseException {
		if (log == null)
			throw new DatabaseException("Logger cannot be null.");
		if (prefix == null || prefix.length() == 0)
			throw new DatabaseException("Plugin prefix cannot be null or empty.");
		
		this.log = log;
		this.PREFIX = prefix;
		this.DATABASE_PREFIX = dp; // Set from child class, can never be null or empty
		this.connected = false;
	}