public class DbComparisonFailure extends AssertionError
Constructor and Description |
---|
DbComparisonFailure(String reason,
String expected,
String actual) |
Modifier and Type | Method and Description |
---|---|
static String |
buildMessage(String reason,
String expected,
String actual)
Creates a formatted message string from the given parameters
|
String |
getActual() |
String |
getExpected() |
String |
getMessage() |
String |
getReason() |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public String getMessage()
getMessage
in class Throwable
public String getReason()
public String getExpected()
public String getActual()
public static final String buildMessage(String reason, String expected, String actual)
reason
- The reason for an assertion or comparison failureexpected
- The expected resultactual
- The actual resultCopyright © 2002–2025. All rights reserved.