Fix for checkStyle warning....throwing an exception would actually be cleaner...but I think this makes sense as well