throws extended with exceptionString parameter + added unit tests for th...

hi.
I extended the parameter of .throws and added parameter to check if Exception has particular message prop.

d