Throw right exception.