Class ExpressionEvaluationException

All Implemented Interfaces:
Serializable

public class ExpressionEvaluationException extends RuntimeCamelException
An exception thrown if evaluation of the expression failed.
See Also:
  • Constructor Details

    • ExpressionEvaluationException

      public ExpressionEvaluationException(@Nullable Expression expression, @Nullable Exchange exchange, @Nullable Throwable cause)
      Parameters:
      expression - the expression that failed to evaluate
      exchange - the exchange that caused the error
      cause - the cause of the failure
    • ExpressionEvaluationException

      public ExpressionEvaluationException(@Nullable Expression expression, String message, @Nullable Exchange exchange, @Nullable Throwable cause)
      Parameters:
      expression - the expression that failed to evaluate
      message - the detail message
      exchange - the exchange that caused the error
      cause - the cause of the failure
  • Method Details

    • getExpression

      public @Nullable Expression getExpression()
    • getExchange

      public @Nullable Exchange getExchange()