Only throw exception is there are errors, warnings are also contained in the Error collection
Merge pull request #146 from 7sharp9/master

Only throw exceptions if there are errors, warnings are also contained in the Error collection