public interface IPageException extends Dumpable
Modifier and Type | Method and Description |
---|---|
void |
addContext(PageSource pageSource,
int line,
int column,
java.lang.StackTraceElement element)
add a template to the context of the error
|
Struct |
getAddional()
Deprecated.
use instead
getAdditional(); |
Struct |
getAdditional() |
CatchBlock |
getCatchBlock(Config config)
return detailed catch block of the error
|
Struct |
getCatchBlock(PageContext pc)
Deprecated.
use instead
getCatchBlock(Config config); |
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
|
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) |
boolean |
typeEqual(java.lang.String type)
compare error type as String
|
toDumpData
java.lang.String getDetail()
java.lang.String getErrorCode()
java.lang.String getExtendedInfo()
int getTracePointer()
void setTracePointer(int tracePointer)
tracePointer
- The tracePointer to set.java.lang.String getTypeAsString()
java.lang.String getCustomTypeAsString()
Struct getCatchBlock(PageContext pc)
getCatchBlock(Config config);
CatchBlock getCatchBlock(Config config)
Struct getErrorBlock(PageContext pc, ErrorPage ep)
pc
- page context of the requestep
- error pagevoid addContext(PageSource pageSource, int line, int column, java.lang.StackTraceElement element)
pageSource
- new template contextline
- line of the errorcolumn
- column of the errorboolean typeEqual(java.lang.String type)
type
- other error typevoid setDetail(java.lang.String detail)
detail
- void setErrorCode(java.lang.String errorCode)
errorCode
- void setExtendedInfo(java.lang.String extendedInfo)
extendedInfo
- Struct getAddional()
getAdditional();
Struct getAdditional()
java.lang.String getStackTraceAsString()