public class SequenceExceptionError
extends java.lang.Error
Modifier and Type | Field and Description |
---|---|
private java.lang.Throwable |
e
The exception thrown by the sequence.
|
private int |
position
The position of the statement that threw the exception.
|
private static long |
serialVersionUID
ID for serialization.
|
private ExecutableSequence |
testSequence
The test sequence.
|
Constructor and Description |
---|
SequenceExceptionError(ExecutableSequence testSequence,
int position,
java.lang.Throwable exception)
Create an exception for the exception thrown by the statement at the given position in the test
sequence.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getError()
Returns the thrown exception.
|
java.lang.String |
getSequence()
Returns the string representation of the test sequence.
|
java.lang.String |
getStatement()
Returns the string representation of the statement that threw the exception.
|
Sequence |
getSubsequence()
Returns the input sequence containing the statement that threw the exception.
|
private static final long serialVersionUID
private java.lang.Throwable e
private ExecutableSequence testSequence
private int position
public SequenceExceptionError(ExecutableSequence testSequence, int position, java.lang.Throwable exception)
testSequence
- the test sequenceposition
- the position of the statement that threw the exceptionexception
- the exceptionpublic java.lang.Throwable getError()
public java.lang.String getStatement()
public java.lang.String getSequence()
public Sequence getSubsequence()