raise and exception InvalidCacheBackendError with string "Could not find backend '%s': %s" as argument, replace '%s' with backend and e, respectively.
raise InvalidCacheBackendError ( "Could not find backend '%s': %s" % ( backend , e ) )