Fixes #194

Documented using regexp with `@expectedExceptionMessage`.