1 package com.github.mygreen.supercsv.expression;
2
3 import java.util.Map;
4
5
6
7
8
9
10
11
12 public class ExpressionEvaluationException extends RuntimeException {
13
14
15 private static final long serialVersionUID = 1L;
16
17 private final String expression;
18
19 private final Map<String, Object> variables;
20
21 public ExpressionEvaluationException(final String message, final Throwable cause,
22 final String expression, final Map<String, Object> variables) {
23 super(message, cause);
24 this.expression = expression;
25 this.variables = variables;
26
27 }
28
29
30
31
32
33 public String getExpression() {
34 return expression;
35 }
36
37
38
39
40
41 public Map<String, Object> getVariables() {
42 return variables;
43 }
44
45 }