private void addParsedPolicyEntries ( List < ParsedPolicyEntry > parsedEntries , List < ProGradePolicyEntry > entries , KeyStore keystore , boolean grant ) throws Exception { for ( ParsedPolicyEntry p : parsedEntries ) { try { entries . add ( initializePolicyEntry ( p , keystore , grant ) ) ; } catch ( Exception e ) { System . err . println ( "Unable to initialize policy entry: " + e . getMessage ( ) ) ; } } }
Private method which adds parsedEntries to entries .