Fixes some exceptions that can cause 500 errors within the service.
Fix for when a partition passed in to the partition service is invalid not throwing IllegalArgumentExceptions, but instead PartitionExceptions with an acceptable response.
Also fixes a potential null pointer exception if the kind
for a record is not specified (as encountered within Dataset service if you remove/rename the kind
field in the dataset/v1/registerDataset
API endpoint).
Edited by Derek Hudson