public synchronized String getDefaultPath() throws ConfigurationException { if (this.defaultPrefix == null) { determineDefaultPrefix(); if (this.defaultPrefix == null) { throw new ConfigurationException("Unable to find writable path for cache."); } } return this.defaultPrefix; }