Package org.apache.commons.jelly
Class JellyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.commons.jelly.JellyException
- All Implemented Interfaces:
 Serializable,LocationAware
- Direct Known Subclasses:
 JellyTagException
JellyException is the root of all Jelly exceptions.
- Version:
 - $Revision: 429129 $
 - Author:
 - James Strachan
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionJellyException(String message) JellyException(String reason, String fileName, String elementName, int columnNumber, int lineNumber) JellyException(String message, Throwable cause) JellyException(String reason, Throwable cause, String fileName, String elementName, int columnNumber, int lineNumber) JellyException(Throwable cause) JellyException(Throwable cause, String fileName, String elementName, int columnNumber, int lineNumber)  - 
Method Summary
Modifier and TypeMethodDescriptionintintvoidsetColumnNumber(int columnNumber) Sets the column number of the tagvoidsetElementName(String elementName) Sets the element name which caused the problemvoidsetFileName(String fileName) Sets the Jelly file which caused the problemvoidsetLineNumber(int lineNumber) Sets the line number of the tagMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
JellyException
public JellyException() - 
JellyException
 - 
JellyException
 - 
JellyException
 - 
JellyException
 - 
JellyException
 - 
JellyException
 
 - 
 - 
Method Details
- 
getLineNumber
public int getLineNumber()- Specified by:
 getLineNumberin interfaceLocationAware- Returns:
 - the line number of the tag
 
 - 
setLineNumber
public void setLineNumber(int lineNumber) Sets the line number of the tag- Specified by:
 setLineNumberin interfaceLocationAware
 - 
getColumnNumber
public int getColumnNumber()- Specified by:
 getColumnNumberin interfaceLocationAware- Returns:
 - the column number of the tag
 
 - 
setColumnNumber
public void setColumnNumber(int columnNumber) Sets the column number of the tag- Specified by:
 setColumnNumberin interfaceLocationAware
 - 
getFileName
- Specified by:
 getFileNamein interfaceLocationAware- Returns:
 - the Jelly file which caused the problem
 
 - 
setFileName
Sets the Jelly file which caused the problem- Specified by:
 setFileNamein interfaceLocationAware
 - 
getElementName
- Specified by:
 getElementNamein interfaceLocationAware- Returns:
 - the element name which caused the problem
 
 - 
setElementName
Sets the element name which caused the problem- Specified by:
 setElementNamein interfaceLocationAware
 - 
getMessage
- Overrides:
 getMessagein classThrowable
 - 
getReason
 
 -