Clarified type name in applicationContext.xml to FQN and made exceptions more robust to prevent NPE.