Class InvalidPolicyException

All Implemented Interfaces:
Serializable

public final class InvalidPolicyException extends ResilientException
Thrown when a Policy is constructed with an invalid configuration (e.g. no patterns). The message describes the problem; suggestedFix() describes how to resolve it.
See Also:
  • Constructor Details

    • InvalidPolicyException

      public InvalidPolicyException(String problem, String suggestedFix)
  • Method Details

    • suggestedFix

      public String suggestedFix()
      A human-readable suggestion for how to fix the invalid configuration.