Please use a proper log message and then 

throw log.cannotLoadlevelDBFactories(...)