|
|||||||||||
| 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.ServletException
railo.runtime.exp.PageServletException
by definition a JSP Tag can only throw JSPExceptions, for that case the PageException is a Subclass of the JSPExceptions, but when a PageException, is escaleted to a parent page, this goes over the include method of the PageContext Object, but this can only throw ServletException. For that this class can Box a JSPException (PageException) in a ServletException (PageServletException)
| Constructor Summary | |
PageServletException(PageException pe)
constructor of the class |
|
| Method Summary | |
void |
addContext(PageSource template,
int line,
int column,
java.lang.StackTraceElement ste)
add a template to the context of the error |
Struct |
getAddional()
|
Struct |
getCatchBlock(PageContext pc)
return detailed catch block of the error |
java.lang.String |
getCustomTypeAsString()
Error custom type as String |
java.lang.String |
getDetail()
return detailed error message |
Struct |
getErrorBlock(PageContext pc,
ErrorPage ep)
return detailed error block of the error |
java.lang.String |
getErrorCode()
Error Code |
java.lang.String |
getExtendedInfo()
return extended info to the error |
PageException |
getPageException()
|
java.lang.String |
getStackTraceAsString()
returns the java stracktrace as a String |
int |
getTracePointer()
|
java.lang.String |
getTypeAsString()
Error type as String |
void |
setDetail(java.lang.String detail)
sets detailed error message |
void |
setErrorCode(java.lang.String errorCode)
sets the Error Code |
void |
setExtendedInfo(java.lang.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(java.lang.String type)
compare error type as String |
| Methods inherited from class javax.servlet.ServletException |
getRootCause |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PageServletException(PageException pe)
pe - page exception to hold| Method Detail |
public PageException getPageException()
getPageException in interface PageExceptionBoxPageExceptionBox.getPageException()public java.lang.String getDetail()
IPageException
getDetail in interface IPageExceptionIPageException.getDetail()public java.lang.String getErrorCode()
IPageException
getErrorCode in interface IPageExceptionIPageException.getErrorCode()public java.lang.String getExtendedInfo()
IPageException
getExtendedInfo in interface IPageExceptionIPageException.getExtendedInfo()public Struct getCatchBlock(PageContext pc)
IPageException
getCatchBlock in interface IPageExceptionIPageException.getCatchBlock(railo.runtime.PageContext)
public Struct getErrorBlock(PageContext pc,
ErrorPage ep)
IPageException
getErrorBlock in interface IPageExceptionpc - page context of the requestep - error page
IPageException.getErrorBlock(PageContext pc,ErrorPage ep)
public void addContext(PageSource template,
int line,
int column,
java.lang.StackTraceElement ste)
IPageException
addContext in interface IPageExceptiontemplate - new template contextline - line of the errorcolumn - column of the errorIPageException.addContext(railo.runtime.PageSource, int, int, java.lang.StackTraceElement)
public DumpData toDumpData(PageContext pageContext,
int maxlevel,
DumpProperties dp)
Dumpable
toDumpData in interface DumpablepageContext -
Dumpable.toDumpData(railo.runtime.PageContext, int, railo.runtime.dump.DumpProperties)public void setDetail(java.lang.String detail)
IPageException
setDetail in interface IPageExceptiondetail - IPageException.setDetail(java.lang.String)public void setErrorCode(java.lang.String errorCode)
IPageException
setErrorCode in interface IPageExceptionerrorCode - IPageException.setErrorCode(java.lang.String)public void setExtendedInfo(java.lang.String extendedInfo)
IPageException
setExtendedInfo in interface IPageExceptionextendedInfo - IPageException.setExtendedInfo(java.lang.String)public java.lang.String getTypeAsString()
IPageException
getTypeAsString in interface IPageExceptionIPageException.getTypeAsString()public boolean typeEqual(java.lang.String type)
IPageException
typeEqual in interface IPageExceptiontype - other error type
IPageException.typeEqual(java.lang.String)public java.lang.String getCustomTypeAsString()
IPageException
getCustomTypeAsString in interface IPageExceptionIPageException.getCustomTypeAsString()public int getTracePointer()
getTracePointer in interface IPageExceptionIPageException.getTracePointer()public void setTracePointer(int tracePointer)
setTracePointer in interface IPageExceptiontracePointer - The tracePointer to set.IPageException.setTracePointer(int)public Struct getAddional()
getAddional in interface IPageExceptionIPageException.getAddional()public java.lang.String getStackTraceAsString()
IPageException
getStackTraceAsString in interface IPageExceptionIPageException.getStackTraceAsString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||