|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
railo.runtime.exp.PageRuntimeException
public class PageRuntimeException
To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments
Constructor Summary | |
---|---|
PageRuntimeException(PageException pe)
constructor of the class |
|
PageRuntimeException(String message)
standart excption constructor |
|
PageRuntimeException(String message,
String detail)
standart excption constructor |
Method Summary | |
---|---|
void |
addContext(PageSource template,
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 |
getExtendedInfo()
return extended info to the error |
PageException |
getPageException()
|
String |
getStackTraceAsString()
returns the java stracktrace as a String |
int |
getTracePointer()
|
String |
getTypeAsString()
Error type as String |
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, 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 PageRuntimeException(PageException pe)
pe
- page exception to holdpublic PageRuntimeException(String message)
message
- message of the exceptionpublic PageRuntimeException(String message, String detail)
message
- message of the exceptiondetail
- detailed information to the exceptionMethod Detail |
---|
public String getDetail()
IPageException
getDetail
in interface IPageException
public String getErrorCode()
IPageException
getErrorCode
in interface IPageException
public String getExtendedInfo()
IPageException
getExtendedInfo
in interface IPageException
public CatchBlock getCatchBlock(Config config)
IPageException
getCatchBlock
in interface IPageException
public Struct getCatchBlock(PageContext pc)
IPageException
getCatchBlock
in interface IPageException
public Struct getCatchBlock()
public Struct getErrorBlock(PageContext pc, ErrorPage ep)
IPageException
getErrorBlock
in interface IPageException
pc
- page context of the requestep
- error page
public void addContext(PageSource template, int line, int column, StackTraceElement ste)
IPageException
addContext
in interface IPageException
template
- new template contextline
- line of the errorcolumn
- column of the errorpublic DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp)
Dumpable
toDumpData
in interface Dumpable
public PageException getPageException()
getPageException
in interface PageExceptionBox
public void setDetail(String detail)
IPageException
setDetail
in interface IPageException
public void setErrorCode(String errorCode)
IPageException
setErrorCode
in interface IPageException
public void setExtendedInfo(String extendedInfo)
IPageException
setExtendedInfo
in interface IPageException
public boolean typeEqual(String type)
IPageException
typeEqual
in interface IPageException
type
- other error type
public String getTypeAsString()
IPageException
getTypeAsString
in interface IPageException
public String getCustomTypeAsString()
IPageException
getCustomTypeAsString
in interface IPageException
public int getTracePointer()
getTracePointer
in interface IPageException
public void setTracePointer(int tracePointer)
setTracePointer
in interface IPageException
tracePointer
- The tracePointer to set.public Struct getAdditional()
getAdditional
in interface IPageException
public Struct getAddional()
getAddional
in interface IPageException
public String getStackTraceAsString()
IPageException
getStackTraceAsString
in interface IPageException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |