public class JellyAssertionFailedError extends junit.framework.AssertionFailedError implements LocationAware
JellyAssertionFailedError is
a JUnit AssertionFailedError which is LocationAware so that it can include
details of where in the JellyUnit test case that the failure occurred.
| Constructor and Description |
|---|
JellyAssertionFailedError() |
JellyAssertionFailedError(String message) |
JellyAssertionFailedError(String message,
Throwable cause) |
JellyAssertionFailedError(Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getCause() |
int |
getColumnNumber() |
String |
getElementName() |
String |
getFileName() |
int |
getLineNumber() |
String |
getMessage() |
String |
getReason() |
void |
printStackTrace() |
void |
printStackTrace(PrintStream s) |
void |
printStackTrace(PrintWriter s) |
void |
setColumnNumber(int columnNumber)
Sets the column number of the tag
|
void |
setElementName(String elementName)
Sets the element name which caused the problem
|
void |
setFileName(String fileName)
Sets the Jelly file which caused the problem
|
void |
setLineNumber(int lineNumber)
Sets the line number of the tag
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toStringpublic JellyAssertionFailedError()
public JellyAssertionFailedError(String message)
public JellyAssertionFailedError(Throwable cause)
public int getLineNumber()
getLineNumber in interface LocationAwarepublic void setLineNumber(int lineNumber)
setLineNumber in interface LocationAwarepublic int getColumnNumber()
getColumnNumber in interface LocationAwarepublic void setColumnNumber(int columnNumber)
setColumnNumber in interface LocationAwarepublic String getFileName()
getFileName in interface LocationAwarepublic void setFileName(String fileName)
setFileName in interface LocationAwarepublic String getElementName()
getElementName in interface LocationAwarepublic void setElementName(String elementName)
setElementName in interface LocationAwarepublic String getMessage()
getMessage in class Throwablepublic String getReason()
public void printStackTrace(PrintWriter s)
printStackTrace in class Throwablepublic void printStackTrace(PrintStream s)
printStackTrace in class Throwablepublic void printStackTrace()
printStackTrace in class ThrowableCopyright © 2014. All rights reserved.