symfony/symfony — pull request #5361 by Tobion (2012-08-27 04:25:12+00:00)
Title: [Form] replaced UnexpectedValueException by InvalidArgumentException in Guess

this is a better fit because the error is a logic exception (that can be detected at compile time, i.e. when writing the code) instead of a runtime exception