New exceptions.
Use the right exception to raise errors.