Modified the exceptions.