**[Dave Syer](https://jira.spring.io/secure/ViewProfile.jspa?name=david_syer)** opened **[SPR-4643](https://jira.spring.io/browse/SPR-4643?redirect=false)** and commented Additional `@ExpectedException` attribute to allow the exception message to be checked, e.g. a substring, or regex, or both. --- **Affects:** 2.5.2 **Referenced from:** commits https://github.com/spring-projects/spring-framework/commit/f9f9b431a697132af0e22311d74b90c3f01dccb7