Updates ConfigurationListener to allow throwing an exception when it's listener method is called and removes the useless adapter class.