mono/MonoGame — pull request #713 by slygamer (2012-08-25 23:48:19+00:00)
Title: Throw correct exceptions in SpriteBatch

Fixes for issue #711
Added: Throw InvalidOperationException if SpriteBatch.Begin is not called prior to SpriteBatch.Draw or SpriteBatch.DrawString.
Fixed: Throw ArgumentNullException exception if texture parameter is null in calls to SpriteBatch.Draw. Was throwing ArgumentException.
Added: Throw ArgumentNullException if text parameter is null in calls to SpriteBatch.DrawString.