If this is an internal class, why do we check here for those settings. We control those settings, so I doubt raising exceptions makes sense.