public class JobSpecificationException
extends java.lang.RuntimeException
JobDSLMessage
for the list of all possible
messages that can occur.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
expressionString |
protected java.lang.Object[] |
inserts |
protected JobDSLMessage |
message |
protected int |
position |
Constructor and Description |
---|
JobSpecificationException(java.lang.String expressionString,
int position,
JobDSLMessage message,
java.lang.Object... inserts) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExpressionString() |
java.lang.Object[] |
getInserts() |
java.lang.String |
getMessage() |
JobDSLMessage |
getMessageCode() |
int |
getPosition() |
java.util.Map<java.lang.String,java.lang.Object> |
toExceptionDescriptor()
Produce a simple map of information about the exception that
can be sent to the client for display.
|
protected java.lang.String expressionString
protected int position
protected JobDSLMessage message
protected java.lang.Object[] inserts
public JobSpecificationException(java.lang.String expressionString, int position, JobDSLMessage message, java.lang.Object... inserts)
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public JobDSLMessage getMessageCode()
public java.lang.Object[] getInserts()
public final java.lang.String getExpressionString()
public final int getPosition()
public java.util.Map<java.lang.String,java.lang.Object> toExceptionDescriptor()