Class InvalidRulesException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
software.amazon.smithy.rulesengine.language.error.InvalidRulesException
All Implemented Interfaces:
Serializable, FromSourceLocation

public final class InvalidRulesException extends RuntimeException implements FromSourceLocation
Exception thrown when a rule-set is invalid.
See Also:
  • Constructor Details

    • InvalidRulesException

      public InvalidRulesException(String message, FromSourceLocation location)
      Constructs a new invalid rule exception with the given message and source location.
      Parameters:
      message - the detail message.
      location - the location of the invalid rule.
  • Method Details