protected static class TestXmlEvent.ErrorXmlEvent extends TestXmlEvent implements AbstractTestVerifier.ErrorEventDefinition
TestXmlEvent
for carrying errors.TestXmlEvent.DataXmlEvent, TestXmlEvent.ErrorXmlEvent, TestXmlEvent.ReceiverXmlVerifier, TestXmlEvent.SenderXmlVerifier, TestXmlEvent.SequenceXmlEvent, TestXmlEvent.TestXmlEventType
Constructor and Description |
---|
TestXmlEvent.ErrorXmlEvent(Throwable exception,
Source<TestXmlEvent,SourceType> source)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getException()
Gets the cause of the error.
|
getContents, getSource, getType, parse, toDom
public TestXmlEvent.ErrorXmlEvent(Throwable exception, Source<TestXmlEvent,SourceType> source)
public Throwable getException()
AbstractTestVerifier.ErrorEventDefinition
getException
in interface AbstractTestVerifier.ErrorEventDefinition