Added support of shouldThrow noException syntax.