|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.apache.commons.jelly.JellyException
public class JellyException
JellyException
is the root of all Jelly exceptions.
Field Summary | |
---|---|
private java.lang.Throwable |
cause
the underlying cause of the exception |
private int |
columnNumber
the column number in the script of the error |
private java.lang.String |
elementName
the tag name which caused the problem |
private java.lang.String |
fileName
the Jelly file which caused the problem |
private int |
lineNumber
the line number in the script of the error |
Constructor Summary | |
---|---|
JellyException()
|
|
JellyException(java.lang.String message)
|
|
JellyException(java.lang.String reason,
java.lang.String fileName,
java.lang.String elementName,
int columnNumber,
int lineNumber)
|
|
JellyException(java.lang.String message,
java.lang.Throwable cause)
|
|
JellyException(java.lang.String reason,
java.lang.Throwable cause,
java.lang.String fileName,
java.lang.String elementName,
int columnNumber,
int lineNumber)
|
|
JellyException(java.lang.Throwable cause)
|
|
JellyException(java.lang.Throwable cause,
java.lang.String fileName,
java.lang.String elementName,
int columnNumber,
int lineNumber)
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.lang.Throwable cause
private java.lang.String fileName
private java.lang.String elementName
private int lineNumber
private int columnNumber
Constructor Detail |
---|
public JellyException()
public JellyException(java.lang.String message)
public JellyException(java.lang.String message, java.lang.Throwable cause)
public JellyException(java.lang.Throwable cause)
public JellyException(java.lang.Throwable cause, java.lang.String fileName, java.lang.String elementName, int columnNumber, int lineNumber)
public JellyException(java.lang.String reason, java.lang.Throwable cause, java.lang.String fileName, java.lang.String elementName, int columnNumber, int lineNumber)
public JellyException(java.lang.String reason, java.lang.String fileName, java.lang.String elementName, int columnNumber, int lineNumber)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |