org.jbpm.formModeler.service.error
public class ErrorReport extends Object
Modifier and Type | Field and Description |
---|---|
protected Date |
date
The error date
|
protected static DateFormat |
dateFormat |
protected Throwable |
exception
The error itself
|
protected String |
id
The error unique identifier
|
Constructor and Description |
---|
ErrorReport() |
Modifier and Type | Method and Description |
---|---|
static void |
appendIndent(StringBuffer out,
int indent) |
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 |
setDate(Date date) |
void |
setException(Throwable exception) |
void |
setId(String id) |
protected Date date
protected String id
protected Throwable exception
protected static transient DateFormat dateFormat
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 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)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.