|
Dashboard Builder Commons 6.2.0.Beta3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.dashboard.error.ErrorReport
public class ErrorReport
An error report.
| Field Summary | |
|---|---|
protected CodeBlockTrace |
codeBlock
The code block where the exception occurs. |
protected Date |
date
The error date |
protected static DateFormat |
dateFormat
|
protected Throwable |
exception
The error itself |
protected String |
id
The error unique identifier |
protected LocaleManager |
localeManager
The locale manager. |
| Constructor Summary | |
|---|---|
ErrorReport()
|
|
| Method Summary | |
|---|---|
static void |
appendIndent(StringBuffer out,
int indent)
|
CodeBlockTrace |
getCodeBlock()
|
static ErrorReport |
getCurrentThreadError()
Get the last error happened within the current thread (if any). |
Date |
getDate()
|
Throwable |
getException()
|
String |
getId()
|
protected String |
getUnexpectedErrorMessage()
|
protected String |
getUnexpectedErrorTitle()
|
boolean |
isBusinessAppError()
|
boolean |
isTechnicalAppError()
|
static void |
main(String[] args)
|
String |
printContext(int indent)
|
String |
printErrorMessage()
|
String |
printErrorTitle()
|
String |
printExceptionTrace()
|
void |
setCodeBlock(CodeBlockTrace codeBlock)
|
void |
setDate(Date date)
|
void |
setException(Throwable exception)
|
void |
setId(String id)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Date date
protected String id
protected Throwable exception
protected CodeBlockTrace codeBlock
protected LocaleManager localeManager
protected static transient DateFormat dateFormat
| Constructor Detail |
|---|
public ErrorReport()
| Method Detail |
|---|
public static ErrorReport getCurrentThreadError()
public Date getDate()
public void setDate(Date date)
public String getId()
public void setId(String id)
public Throwable getException()
public void setException(Throwable exception)
public CodeBlockTrace getCodeBlock()
public void setCodeBlock(CodeBlockTrace codeBlock)
public String printContext(int indent)
public String printExceptionTrace()
public static void appendIndent(StringBuffer out,
int indent)
public boolean isBusinessAppError()
public boolean isTechnicalAppError()
protected String getUnexpectedErrorTitle()
protected String getUnexpectedErrorMessage()
public String printErrorTitle()
public String printErrorMessage()
public static void main(String[] args)
|
Dashboard Builder Commons 6.2.0.Beta3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||