Throw runtime exception on error. 40% code coverage