net.sf.jameleon.exception
Class JameleonScriptException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sf.jameleon.exception.JameleonScriptException
- All Implemented Interfaces:
- Serializable, LocationAware
public class JameleonScriptException
- extends RuntimeException
- implements LocationAware
A RuntimeException that is noted as the script failing. The reason behind a RuntimeException
is so that the test can continue of it is supposed to continue
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
lineNumber
protected int lineNumber
columnNumber
protected int columnNumber
scriptFileName
protected String scriptFileName
elementTagName
protected String elementTagName
JameleonScriptException
public JameleonScriptException()
JameleonScriptException
public JameleonScriptException(String errorMsg)
JameleonScriptException
public JameleonScriptException(Throwable cause)
JameleonScriptException
public JameleonScriptException(Throwable cause,
LocationAware la)
JameleonScriptException
public JameleonScriptException(String errorMsg,
Throwable cause)
JameleonScriptException
public JameleonScriptException(String errorMsg,
LocationAware la)
JameleonScriptException
public JameleonScriptException(String errorMsg,
Throwable cause,
LocationAware la)
copyLocationAwareProperties
protected void copyLocationAwareProperties(LocationAware la)
getLineNumber
public int getLineNumber()
- Specified by:
getLineNumber
in interface LocationAware
- Returns:
- the line number of the tag
setLineNumber
public void setLineNumber(int lineNumber)
- Sets the line number of the tag
- Specified by:
setLineNumber
in interface LocationAware
getColumnNumber
public int getColumnNumber()
- Specified by:
getColumnNumber
in interface LocationAware
- Returns:
- the column number of the tag
setColumnNumber
public void setColumnNumber(int columnNumber)
- Sets the column number of the tag
- Specified by:
setColumnNumber
in interface LocationAware
getFileName
public String getFileName()
- Specified by:
getFileName
in interface LocationAware
- Returns:
- the Jelly file which caused the problem
setFileName
public void setFileName(String fileName)
- Sets the Jelly file which caused the problem
- Specified by:
setFileName
in interface LocationAware
getElementName
public String getElementName()
- Specified by:
getElementName
in interface LocationAware
- Returns:
- the element name which caused the problem
setElementName
public void setElementName(String elementName)
- Sets the element name which caused the problem
- Specified by:
setElementName
in interface LocationAware
Copyright © 2003-2008 Christian Hargraves. All Rights Reserved.