org.springframework.ws.test.support
Class SourceAssertionError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.AssertionError
org.springframework.ws.test.support.SourceAssertionError
All Implemented Interfaces: Serializable
public class SourceAssertionError extends AssertionError
Subclass of AssertionError
that also contains a Source
for more context.
Since:
2.0.1
Author:
Lukas Krecan, Arjen Poutsma
See Also: Serialized Form
SourceAssertionError
public SourceAssertionError (String detailMessage,
String sourceLabel,
Source source)
Creates a new instance of the SourceAssertionError
class with the given parameters.
getSource
public Source getSource ()
Returns the source context of this error.
Returns: the source
getMessage
public String getMessage ()
Overrides: getMessage
in class Throwable
Copyright © 2005-2013 The Spring Web Services Framework . All Rights Reserved.