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
Exception thrown when a rule-set is invalid.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionInvalidRulesException(String message, FromSourceLocation location) Constructs a new invalid rule exception with the given message and source location.
- 
Method SummaryModifier and TypeMethodDescriptionGets the source location of a value.Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
InvalidRulesExceptionConstructs 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- 
getSourceLocationDescription copied from interface:FromSourceLocationGets the source location of a value.- Specified by:
- getSourceLocationin interface- FromSourceLocation
- Returns:
- Returns the source location of the value.
 
 
-