|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.servlet.jsp.JspException
railo.runtime.exp.PageException
railo.runtime.exp.PageExceptionImpl
public abstract class PageExceptionImpl
Railo Runtime Page Exception, all runtime Exception are sub classes of this class
Constructor Summary | |
---|---|
PageExceptionImpl(String message,
String type)
Class Constructor |
|
PageExceptionImpl(String message,
String type,
String customType)
Class Constructor |
|
PageExceptionImpl(Throwable e,
String type)
Class Constructor |
|
PageExceptionImpl(Throwable e,
String type,
String customType)
Class Constructor |
Method Summary | |
---|---|
void |
addContext(PageSource pr,
int line,
int column,
StackTraceElement element)
add a template to the context of the error |
Struct |
getAddional()
|
Struct |
getAdditional()
|
Struct |
getCatchBlock()
|
CatchBlock |
getCatchBlock(Config config)
|
Struct |
getCatchBlock(PageContext pc)
return detailed catch block of the error |
String |
getCustomTypeAsString()
Error custom type as String |
String |
getDetail()
return detailed error message |
Struct |
getErrorBlock(PageContext pc,
ErrorPage ep)
return detailed error block of the error |
String |
getErrorCode()
Error Code |
String |
getExtendedInfo()
return extended info to the error |
String |
getLine(Config config)
|
int |
getPageDeep()
|
Throwable |
getRootCause()
|
StackTraceElement[] |
getStackTrace()
|
String |
getStackTraceAsString()
returns the java stracktrace as a String |
Array |
getTagContext(Config config)
|
static Array |
getTagContext(Config config,
StackTraceElement[] traces)
|
int |
getTracePointer()
|
String |
getTypeAsString()
Error type as String |
void |
printStackTrace()
|
void |
printStackTrace(PrintStream s)
|
void |
printStackTrace(PrintWriter s)
|
void |
setAdditional(String key,
Object value)
set a additional key value |
void |
setDetail(String detail)
sets detailed error message |
void |
setErrorCode(String errorCode)
sets the Error Code |
void |
setExtendedInfo(String extendedInfo)
sets extended info to the error |
void |
setTracePointer(int tracePointer)
|
DumpData |
toDumpData(PageContext pageContext,
int maxlevel,
DumpProperties dp)
method to print out information to a object as HTML |
boolean |
typeEqual(String type)
compare error type as String |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PageExceptionImpl(String message, String type)
message
- Exception Messagetype
- Type as Stringpublic PageExceptionImpl(String message, String type, String customType)
message
- Exception Messagetype
- Type as StringcustomType
- CUstom Type as Stringpublic PageExceptionImpl(Throwable e, String type)
e
- exceptiontype
- Type as Stringpublic PageExceptionImpl(Throwable e, String type, String customType)
e
- exceptiontype
- Type as StringcustomType
- CUstom Type as StringMethod Detail |
---|
public String getDetail()
IPageException
IPageException.getDetail()
public String getErrorCode()
IPageException
IPageException.getErrorCode()
public String getExtendedInfo()
IPageException
IPageException.getExtendedInfo()
public void setDetail(String detail)
IPageException
IPageException.setDetail(java.lang.String)
public void setErrorCode(String errorCode)
IPageException
IPageException.setErrorCode(java.lang.String)
public void setExtendedInfo(String extendedInfo)
IPageException
IPageException.setExtendedInfo(java.lang.String)
public final Struct getCatchBlock()
railo.runtime.exp.IPageException#getCatchBlock()
public final Struct getCatchBlock(PageContext pc)
IPageException
IPageException.getCatchBlock(railo.runtime.PageContext)
public CatchBlock getCatchBlock(Config config)
public Array getTagContext(Config config)
public static Array getTagContext(Config config, StackTraceElement[] traces)
public int getPageDeep()
public Struct getErrorBlock(PageContext pc, ErrorPage ep)
IPageException
pc
- page context of the requestep
- error page
IPageException.getErrorBlock(railo.runtime.PageContext, railo.runtime.err.ErrorPage)
public String getLine(Config config)
railo.runtime.exp.PageException#getLine()
public void addContext(PageSource pr, int line, int column, StackTraceElement element)
IPageException
pr
- new template contextline
- line of the errorcolumn
- column of the errorrailo.runtime.exp.PageException#addContext(railo.runtime.PageSource, int, int)
public DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp)
Dumpable
railo.runtime.dump.Dumpable#toDumpData(railo.runtime.PageContext, int)
public String getStackTraceAsString()
IPageException
IPageException.getStackTraceAsString()
public void printStackTrace()
printStackTrace
in class Throwable
Throwable.printStackTrace()
public void printStackTrace(PrintStream s)
printStackTrace
in class Throwable
Throwable.printStackTrace(java.io.PrintStream)
public void printStackTrace(PrintWriter s)
printStackTrace
in class Throwable
Throwable.printStackTrace(java.io.PrintWriter)
public void setAdditional(String key, Object value)
key
- value
- public Throwable getRootCause()
getRootCause
in class javax.servlet.jsp.JspException
JspException.getRootCause()
public int getTracePointer()
IPageException.getTracePointer()
public void setTracePointer(int tracePointer)
tracePointer
- The tracePointer to set.IPageException.setTracePointer(int)
public boolean typeEqual(String type)
IPageException
type
- other error type
IPageException.typeEqual(java.lang.String)
public String getTypeAsString()
IPageException
IPageException.getTypeAsString()
public String getCustomTypeAsString()
IPageException
IPageException.getCustomTypeAsString()
public Struct getAdditional()
railo.runtime.exp.PageException#getAdditional()
public Struct getAddional()
public StackTraceElement[] getStackTrace()
getStackTrace
in class Throwable
Throwable.getStackTrace()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |