* @throws IOException on IO error during retrieval from the service.
* @throws ServiceException if there is a problem retrieving the element.
*/
public Entry getSelf() throws IOException, ServiceException {
if (state.service == null) {
throw new ServiceException(
CoreErrorDomain.ERR.entryNotAssociated);
}
Link selfLink = getSelfLink();
if (selfLink == null) {
throw new UnsupportedOperationException("Entry cannot be retrieved");