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, toString
public JellyAssertionFailedError()
public JellyAssertionFailedError(String message)
public JellyAssertionFailedError(Throwable cause)
public int getLineNumber()
getLineNumber
in interface LocationAware
public void setLineNumber(int lineNumber)
setLineNumber
in interface LocationAware
public int getColumnNumber()
getColumnNumber
in interface LocationAware
public void setColumnNumber(int columnNumber)
setColumnNumber
in interface LocationAware
public String getFileName()
getFileName
in interface LocationAware
public void setFileName(String fileName)
setFileName
in interface LocationAware
public String getElementName()
getElementName
in interface LocationAware
public void setElementName(String elementName)
setElementName
in interface LocationAware
public String getMessage()
getMessage
in class Throwable
public String getReason()
public void printStackTrace(PrintWriter s)
printStackTrace
in class Throwable
public void printStackTrace(PrintStream s)
printStackTrace
in class Throwable
public void printStackTrace()
printStackTrace
in class Throwable
Copyright © 2014. All rights reserved.