public interface IPageException extends Dumpable
Modifier and Type | Method and Description |
---|---|
void |
addContext(PageSource pageSource,
int line,
int column,
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); |
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
|
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) |
boolean |
typeEqual(String type)
compare error type as String
|
toDumpData
String getErrorCode()
String getExtendedInfo()
int getTracePointer()
void setTracePointer(int tracePointer)
tracePointer
- The tracePointer to set.String getTypeAsString()
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, StackTraceElement element)
pageSource
- new template contextline
- line of the errorcolumn
- column of the errorboolean typeEqual(String type)
type
- other error typevoid setErrorCode(String errorCode)
errorCode
- void setExtendedInfo(String extendedInfo)
extendedInfo
- Struct getAddional()
getAdditional();
Struct getAdditional()
String getStackTraceAsString()
Copyright © 2015 Lucee