class MyPresentationPolicyAlternatives {

  public MyPresentationPolicy findOrThrow(URI policyUri) throws TokenVerificationException {
    for(PresentationPolicy pp: policyAlternatives.getPresentationPolicy()) {
      if (pp.getPolicyUID().equals(policyUri)) {
        return new MyPresentationPolicy(pp);
      }
    }
    String errorMessage = "Cannot find presentation policy with URI '" + policyUri + "' among the alternatives";
    TokenVerificationException ex = new TokenVerificationException();
    ex.errorMessages.add(errorMessage);
    throw ex;
  }

  public  MyPresentationPolicyAlternatives(PresentationPolicyAlternatives ppa);

}