Throw the exception rather than just creating it.