Switched to a more fluent design for the exception throwing helpers.