jbpm-form-modeler-common 6.0.0.CR2

org.jbpm.formModeler.service.error
Class ErrorReport

java.lang.Object
  extended by org.jbpm.formModeler.service.error.ErrorReport

public class ErrorReport
extends Object

An error report.


Field Summary
protected  Date date
          The error date
protected static DateFormat dateFormat
           
protected  Throwable exception
          The error itself
protected  String id
          The error unique identifier
 
Constructor Summary
ErrorReport()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

ErrorReport

public ErrorReport()
Method Detail

getDate

public Date getDate()

setDate

public void setDate(Date date)

getId

public String getId()

setId

public void setId(String id)

getException

public Throwable getException()

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)

jbpm-form-modeler-common 6.0.0.CR2

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.