Support the LDP API

Should we make this a RepositoryRuntimeException instead of RepositoryException?