org.jbpm.formModeler.service.error
Class ErrorReport
java.lang.Object
org.jbpm.formModeler.service.bb.commons.config.componentsFactory.BasicFactoryElement
org.jbpm.formModeler.service.error.ErrorReport
- All Implemented Interfaces:
- Serializable, FactoryLifecycle
public class ErrorReport
- extends BasicFactoryElement
An error report.
- See Also:
- Serialized Form
| Methods inherited from class org.jbpm.formModeler.service.bb.commons.config.componentsFactory.BasicFactoryElement |
addPeriodicTask, addPeriodicTask, factoryLookup, getComponentAlias, getComponentDescription, getComponentName, getComponentScope, init, setComponentAlias, shutdown, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
date
protected Date date
- The error date
id
protected String id
- The error unique identifier
exception
protected Throwable exception
- The error itself
dateFormat
protected static transient DateFormat dateFormat
ErrorReport
public ErrorReport()
getDate
public Date getDate()
setDate
public void setDate(Date date)
getId
public String getId()
setId
public void setId(String id)
getException
public Throwable getException()
getRootException
public Throwable getRootException()
getRootCause
protected Throwable getRootCause(Throwable t)
setException
public void setException(Throwable exception)
printContext
public String printContext(int indent)
printExceptionTrace
public String printExceptionTrace()
appendIndent
public static void appendIndent(StringBuffer out,
int indent)
isBusinessAppError
public boolean isBusinessAppError()
isTechnicalAppError
public boolean isTechnicalAppError()
getUnexpectedErrorTitle
protected String getUnexpectedErrorTitle()
getUnexpectedErrorMessage
protected String getUnexpectedErrorMessage()
printErrorTitle
public String printErrorTitle()
printErrorMessage
public String printErrorMessage()
main
public static void main(String[] args)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.