String policyId = policyTypeString.getPolicyId();
File policyFile = new File(getPolicyFileAbsolutePath(papId, policyId));
if (policyFile.exists()) {
throw new AlreadyExistsException("Already exists: policyId=" + policyId);
}
PolicyHelper.toFile(policyFile, policyTypeString);
getPapCache(papId).put(policyId, policyTypeString);