public class JellyException extends Exception implements LocationAware
JellyException is the root of all Jelly exceptions.
| Constructor and Description |
|---|
JellyException() |
JellyException(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) |
| 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, toStringpublic JellyException()
public JellyException(String message)
public JellyException(Throwable cause)
public JellyException(Throwable cause, String fileName, String elementName, int columnNumber, int lineNumber)
public JellyException(String reason, Throwable cause, String fileName, String elementName, int columnNumber, int lineNumber)
public int getLineNumber()
getLineNumber in interface LocationAwarepublic void setLineNumber(int lineNumber)
setLineNumber in interface LocationAwarepublic int getColumnNumber()
getColumnNumber in interface LocationAwarepublic void setColumnNumber(int columnNumber)
setColumnNumber in interface LocationAwarepublic String getFileName()
getFileName in interface LocationAwarepublic void setFileName(String fileName)
setFileName in interface LocationAwarepublic String getElementName()
getElementName in interface LocationAwarepublic void setElementName(String elementName)
setElementName in interface LocationAwarepublic String getMessage()
getMessage in class Throwablepublic String getReason()
public void printStackTrace(PrintWriter s)
printStackTrace in class Throwablepublic void printStackTrace(PrintStream s)
printStackTrace in class Throwablepublic void printStackTrace()
printStackTrace in class ThrowableCopyright © 2012 Apache Software Foundation. All Rights Reserved.