integration-impl/src/main/java/se/idsec/signservice/integration/config/impl/DefaultConfigurationManager.java
@PostConstruct
  public void afterPropertiesSet() throws Exception {
    if (!this.policies.containsKey(this.getDefaultPolicyName())) {
      throw new IllegalArgumentException(String.format("There must be a policy named '%s'", this.getDefaultPolicyName()));
    }
  }
/**
   * Checks that the settings for this object is valid.
   * 
   * @throws Exception
   *           for initialization errors
   */
Checks that the settings for this object is valid.

@throws Exception
for initialization errors
Checks that the settings for this object is valid . @throws Exception for initialization errors
@PostConstruct
  public void afterPropertiesSet() throws Exception {
    if (!this.policies.containsKey(this.getDefaultPolicyName())) {
      throw new IllegalArgumentException(String.format("There must be a policy named '%s'", this.getDefaultPolicyName()));
    }
  }
@ PostConstruct public void afterPropertiesSet ( ) throws Exception { if ( ! this . policies . containsKey ( this . getDefaultPolicyName ( ) ) ) { throw new IllegalArgumentException ( String . format ( "There must be a policy named '%s'" , this . getDefaultPolicyName ( ) ) ) ; } }
Checks that the settings for this object is valid.
Checks that the settings for this object is valid .