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, toString
public 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 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 String getFileName()
getFileName
in interface LocationAware
public void setFileName(String fileName)
setFileName
in interface LocationAware
public String getElementName()
getElementName
in interface LocationAware
public void setElementName(String elementName)
setElementName
in interface LocationAware
public String getMessage()
getMessage
in class Throwable
public String getReason()
public void printStackTrace(PrintWriter s)
printStackTrace
in class Throwable
public void printStackTrace(PrintStream s)
printStackTrace
in class Throwable
public void printStackTrace()
printStackTrace
in class Throwable
Copyright © 2014 Apache Software Foundation. All rights reserved.