@@ -0,0 +1,571 @@
+package com.google.security.fences.util;%0A%0A/**%0A * Thrown when there is a problem with content received from a rule or plugin%0A * configuration.%0A */%0Apublic class MisconfigurationException extends Exception %7B%0A  private static final long serialVersionUID = 8352508127864531032L;%0A%0A  /**%0A   * @see java.lang.Exception#Exception(String, Throwable)%0A   */%0A  public MisconfigurationException(String msg, Throwable cause) %7B%0A    super(msg, cause);%0A  %7D%0A%0A  /**%0A   * @see java.lang.Exception#Exception(String)%0A   */%0A  public MisconfigurationException(String msg) %7B%0A    super(msg);%0A  %7D%0A%7D%0A

replace uses of EnforcerRuleException with a generic MisconfigurationException so that the code, except for FencesMavenEnforcerRule, does not depend on the enforcer API. This is in advance of splitting the code into common code that supports both a rule and a plugin.