Class EvaluationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.darkcollective.relix.processor.EvaluationException
All Implemented Interfaces:
Serializable

public final class EvaluationException extends RuntimeException
Thrown when a query cannot be evaluated at run time.

Examples: unknown column name, type mismatch in arithmetic, division by zero, unknown function name, wrong function arity, a connector's configuration missing a required key. A connector reports a failure reading its source by throwing it too; the embedding API reports it to a caller as the cause of its own exception.

This is an unchecked exception because evaluation errors result from schema mismatches or semantic bugs that should have been caught during relix-semantic analysis; they are not expected in normal operation.

See Also:
  • Constructor Details

    • EvaluationException

      public EvaluationException(String message)
      Constructs an EvaluationException with the given detail message.
      Parameters:
      message - the detail message
    • EvaluationException

      public EvaluationException(String message, Throwable cause)
      Constructs an EvaluationException with a detail message and cause.
      Parameters:
      message - the detail message
      cause - the underlying cause