public class InterpolationException
extends java.lang.Exception
ObjectBasedValueSource
doesn't have the property represented by a
particular expression part, should NOT result in InterpolationExceptions
being thrown. Instead, they should be reported in the feedback from the ValueSource
,
which is propagated out through Interpolator.getFeedback()
.Modifier and Type | Field and Description |
---|---|
private java.lang.String |
expression |
private static long |
serialVersionUID |
Constructor and Description |
---|
InterpolationException(java.lang.String message,
java.lang.String expression) |
InterpolationException(java.lang.String message,
java.lang.String expression,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
buildMessage(java.lang.String message,
java.lang.String expression) |
java.lang.String |
getExpression() |
private static final long serialVersionUID
private final java.lang.String expression
public InterpolationException(java.lang.String message, java.lang.String expression, java.lang.Throwable cause)
message
- The general description of the problemexpression
- The expression that triggered the problemcause
- The wrapped exceptionpublic InterpolationException(java.lang.String message, java.lang.String expression)
message
- The general description of the problemexpression
- The expression that triggered the problem