org.apache.commons.jelly.tags.junit
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(java.lang.String message) |
JellyAssertionFailedError(java.lang.String message,
java.lang.Throwable cause) |
JellyAssertionFailedError(java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getCause() |
int |
getColumnNumber() |
java.lang.String |
getElementName() |
java.lang.String |
getFileName() |
int |
getLineNumber() |
java.lang.String |
getMessage() |
java.lang.String |
getReason() |
void |
printStackTrace() |
void |
printStackTrace(java.io.PrintStream s) |
void |
printStackTrace(java.io.PrintWriter s) |
void |
setColumnNumber(int columnNumber)
Sets the column number of the tag
|
void |
setElementName(java.lang.String elementName)
Sets the element name which caused the problem
|
void |
setFileName(java.lang.String fileName)
Sets the Jelly file which caused the problem
|
void |
setLineNumber(int lineNumber)
Sets the line number of the tag
|
public JellyAssertionFailedError()
public JellyAssertionFailedError(java.lang.String message)
public JellyAssertionFailedError(java.lang.String message, java.lang.Throwable cause)
public JellyAssertionFailedError(java.lang.Throwable cause)
public java.lang.Throwable getCause()
getCause
in class java.lang.Throwable
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 java.lang.String getFileName()
getFileName
in interface LocationAware
public void setFileName(java.lang.String fileName)
setFileName
in interface LocationAware
public java.lang.String getElementName()
getElementName
in interface LocationAware
public void setElementName(java.lang.String elementName)
setElementName
in interface LocationAware
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String getReason()
public void printStackTrace(java.io.PrintWriter s)
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
Copyright © 2014. All Rights Reserved.