Fix invalid exception throws in config classes
add comment to init()