- added exception for reading configuration