r4107 getConfigVar(): review in a way of exceptions thrown