Changed error message returned, now throws the exception.
Moved path from required info. It is no longer being used.