public UmaPendingRequest readPendingRequest(String id) throws ResourceException {
  try {
    return store.read(id);
  }
 catch (  NotFoundException e) {
    throw new org.forgerock.json.resource.NotFoundException("Pending request, " + id + ", not found",e);
  }
catch (  ServerException e) {
    throw new InternalServerErrorException("Failed to read pending request, " + id,e);
  }
}

public UmaPendingRequest readPendingRequest ( String id ) throws ResourceException { try { return store . read ( id ) ; } catch ( NotFoundException e ) { throw new org . forgerock . json . resource . NotFoundException ( "Pending request, " + id + ", not found" , e ) ; } catch ( ServerException e ) { throw new InternalServerErrorException ( "Failed to read pending request, " + id , e ) ; } }
gets a pending request .
