|
||||||||||
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
org.hibernate.HibernateException
railo.runtime.orm.hibernate.HibernateRuntimeException
public class HibernateRuntimeException
Constructor Summary | |
---|---|
HibernateRuntimeException(HibernateORMEngine engine,
String message)
standart excption constructor |
|
HibernateRuntimeException(PageException pe)
constructor of the class |
|
HibernateRuntimeException(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()
|
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 HibernateRuntimeException(PageException pe)
pe
- page exception to holdpublic HibernateRuntimeException(HibernateORMEngine engine, String message)
message
- message of the exceptionpublic HibernateRuntimeException(String message, String detail)
message
- message of the exceptiondetail
- detailed information to the exceptionMethod Detail |
---|
public String getDetail()
IPageException
getDetail
in interface IPageException
IPageException.getDetail()
public String getErrorCode()
IPageException
getErrorCode
in interface IPageException
IPageException.getErrorCode()
public String getExtendedInfo()
IPageException
getExtendedInfo
in interface IPageException
IPageException.getExtendedInfo()
public Struct getCatchBlock(PageContext pc)
IPageException
getCatchBlock
in interface IPageException
IPageException.getCatchBlock(railo.runtime.PageContext)
public Struct getCatchBlock()
railo.runtime.exp.IPageException#getCatchBlock()
public Struct getErrorBlock(PageContext pc, ErrorPage ep)
IPageException
getErrorBlock
in interface IPageException
pc
- page context of the requestep
- error page
IPageException.getErrorBlock(PageContext pc,ErrorPage ep)
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 errorrailo.runtime.exp.IPageException#addContext(PageSource, int, int)
public DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp)
Dumpable
toDumpData
in interface Dumpable
railo.runtime.dump.Dumpable#toDumpData(railo.runtime.PageContext, int)
public PageException getPageException()
getPageException
in interface PageExceptionBox
PageExceptionBox.getPageException()
public void setDetail(String detail)
IPageException
setDetail
in interface IPageException
IPageException.setDetail(java.lang.String)
public void setErrorCode(String errorCode)
IPageException
setErrorCode
in interface IPageException
IPageException.setErrorCode(java.lang.String)
public void setExtendedInfo(String extendedInfo)
IPageException
setExtendedInfo
in interface IPageException
IPageException.setExtendedInfo(java.lang.String)
public boolean typeEqual(String type)
IPageException
typeEqual
in interface IPageException
type
- other error type
IPageException.typeEqual(java.lang.String)
public String getTypeAsString()
IPageException
getTypeAsString
in interface IPageException
IPageException.getTypeAsString()
public String getCustomTypeAsString()
IPageException
getCustomTypeAsString
in interface IPageException
IPageException.getCustomTypeAsString()
public int getTracePointer()
getTracePointer
in interface IPageException
IPageException.getTracePointer()
public void setTracePointer(int tracePointer)
setTracePointer
in interface IPageException
tracePointer
- The tracePointer to set.IPageException.setTracePointer(int)
public Struct getAdditional()
railo.runtime.exp.IPageException#getAdditional()
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 |