Replaced the RepositoryException with the more specific
MalformedRdfException and FedoraInvalidNamespaceException as suggested.