Skip to content

Instantly share code, notes, and snippets.

@admiyo
Created February 26, 2010 16:17
Show Gist options
  • Select an option

  • Save admiyo/315856 to your computer and use it in GitHub Desktop.

Select an option

Save admiyo/315856 to your computer and use it in GitHub Desktop.
* RHQ Management Platform
package org.rhq.enterprise.server.configuration;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
public class ConfigurationValidationException extends Exception {
private static final long serialVersionUID = -6924768743906659205L;
/**
* For Raw config, the key is the path to the raw config file
* For structured, the key is simply "structured"
* In the future, the key will be the same as the value returned from
* org.rhq.core.domain.configuration.Configuration.get(string)
*/
public final Map<String, String> errors;
public ConfigurationValidationException(HashMap<String, String> errors) {
super();
this.errors = Collections.unmodifiableMap(errors);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment