Class UnresolvedExpressionParameterException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
nz.org.riskscape.engine.rl.UnresolvedExpressionParameterException
All Implemented Interfaces:
Serializable

public class UnresolvedExpressionParameterException extends RuntimeException

Thrown during realization when a $foo expression is encountered. This hasn't been resolved and so the expression is incomplete.

This is explicitly not a riskscape exception, as this is a bug, and not something a user should see. All pipeline accepting code needs to be throwing their own exceptions when $parameters appear in pipelines and they weren't expecting it.

A catch all error doesn't seem like a good idea, although special case logic if this causes the program to exit wouldn't hurt

See Also:
  • Constructor Details

    • UnresolvedExpressionParameterException

      public UnresolvedExpressionParameterException(List<nz.org.riskscape.rl.ast.ParameterToken> tokens)
  • Method Details

    • getTokens

      public List<nz.org.riskscape.rl.ast.ParameterToken> getTokens()