/**
* Indicates a error occurred accessing the target mapping expression.
* @param error the error that occurred
*/
public void setTargetAccessError(Object originalValue, EvaluationException error) {
add(new TargetAccessError(currentMapping, originalValue, error));
}