|
||||||||||
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.listener.ModernAppListenerException
public final class ModernAppListenerException
Constructor Summary | |
---|---|
ModernAppListenerException(PageException pe,
String eventName)
Constructor of the class |
Method Summary | |
---|---|
void |
addContext(PageSource pageSource,
int line,
int column,
StackTraceElement ste)
add a template to the context of the error |
Struct |
getAddional()
|
Struct |
getAdditional()
|
Struct |
getCatchBlock()
|
CatchBlock |
getCatchBlock(Config config)
return detailed catch block of the error |
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 |
getEventName()
|
String |
getExtendedInfo()
return extended info to the error |
String |
getLine(Config config)
|
PageException |
getPageException()
|
Throwable |
getRootCause()
|
StackTraceElement[] |
getStackTrace()
|
String |
getStackTraceAsString()
returns the java stracktrace as a String |
int |
getTracePointer()
|
String |
getTypeAsString()
Error type as String |
void |
printStackTrace()
|
void |
printStackTrace(PrintStream s)
|
void |
printStackTrace(PrintWriter s)
|
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 ModernAppListenerException(PageException pe, String eventName)
pe
- eventName
- Method Detail |
---|
public void addContext(PageSource pageSource, int line, int column, StackTraceElement ste)
IPageException
pageSource
- new template contextline
- line of the errorcolumn
- column of the errorpublic Struct getAdditional()
public Struct getAddional()
public Struct getCatchBlock()
public Struct getCatchBlock(PageContext pc)
IPageException
public CatchBlock getCatchBlock(Config config)
IPageException
public String getCustomTypeAsString()
IPageException
public String getDetail()
IPageException
public Struct getErrorBlock(PageContext pc, ErrorPage ep)
IPageException
pc
- page context of the requestep
- error page
public String getErrorCode()
IPageException
public String getExtendedInfo()
IPageException
public String getStackTraceAsString()
IPageException
public int getTracePointer()
public String getTypeAsString()
IPageException
public void setDetail(String detail)
IPageException
public void setErrorCode(String errorCode)
IPageException
public void setExtendedInfo(String extendedInfo)
IPageException
public void setTracePointer(int tracePointer)
tracePointer
- The tracePointer to set.public boolean typeEqual(String type)
IPageException
type
- other error type
public DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp)
Dumpable
public String getEventName()
public String getLine(Config config)
public Throwable getRootCause()
getRootCause
in class javax.servlet.jsp.JspException
public StackTraceElement[] getStackTrace()
getStackTrace
in class Throwable
public void printStackTrace()
printStackTrace
in class Throwable
public void printStackTrace(PrintStream s)
printStackTrace
in class Throwable
public void printStackTrace(PrintWriter s)
printStackTrace
in class Throwable
public PageException getPageException()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |