1 16 package org.springframework.binding.expression; 17 18 import org.springframework.core.NestedRuntimeException; 19 20 24 public class EvaluationException extends NestedRuntimeException { 25 26 29 private EvaluationAttempt evaluationAttempt; 30 31 36 public EvaluationException(EvaluationAttempt evaluationAttempt, Throwable cause) { 37 super("Expression " + evaluationAttempt 38 + " failed - make sure the expression is evaluatable on the target object", cause); 39 this.evaluationAttempt = evaluationAttempt; 40 } 41 42 45 public EvaluationAttempt getEvaluationAttempt() { 46 return evaluationAttempt; 47 } 48 } | Popular Tags |