floodlight/floodlight — pull request #389 by iSatoshiKobayashi (2013-03-27 07:33:32+00:00)
Title: Record the name of the module of the failure cause on a log

When loading of the module of dependence is unsuccessful, the name of the module of the cause is recorded on a log. IMHO, To be recorded is kinder since it is not known now.

(Example)
Now:
Exception in thread "main" net.floodlightcontroller.core.module.FloodlightModuleException: ERROR! Found more than one (2) IFloodlightModules that provides service interface net.floodlightcontroller.counter.ICounterStoreService. Please specify one of the following modules in the config:
…(snip)

Patched:
Exception in thread "main" net.floodlightcontroller.core.module.FloodlightModuleException: ERROR! Found more than one (2) IFloodlightModules that provides service interface net.floodlightcontroller.counter.ICounterStoreService. This service is required for net.floodlightcontroller.storage.memory.MemoryStorageSource. Please specify one of the following modules in the config:
…(snip)