public class ErrorReport extends java.lang.Object implements IErrorReport
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.String> |
documents
The external reports.
|
protected java.lang.String |
errhtml
The error html text.
|
protected java.lang.String |
errtext
The error text.
|
Constructor and Description |
---|
ErrorReport() |
ErrorReport(java.lang.String errtext,
java.lang.String errhtml,
java.util.Map documents) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getDocuments()
Get the external documents.
|
java.lang.String |
getErrorHTML()
Get the html representation of the report.
|
java.lang.String |
getErrorText()
Get the text representation of the report.
|
void |
setDocuments(java.util.Map<java.lang.String,java.lang.String> documents)
Set the documents.
|
void |
setErrorHTML(java.lang.String errhtml)
Set the errhtml.
|
void |
setErrorText(java.lang.String errtext)
Set the errtext.
|
protected java.lang.String errtext
protected java.lang.String errhtml
protected java.util.Map<java.lang.String,java.lang.String> documents
public ErrorReport()
public ErrorReport(java.lang.String errtext, java.lang.String errhtml, java.util.Map documents)
public java.lang.String getErrorText()
getErrorText
in interface IErrorReport
public void setErrorText(java.lang.String errtext)
errtext
- The errtext to set.public java.lang.String getErrorHTML()
getErrorHTML
in interface IErrorReport
public void setErrorHTML(java.lang.String errhtml)
errhtml
- The errhtml to set.public java.util.Map<java.lang.String,java.lang.String> getDocuments()
getDocuments
in interface IErrorReport
public void setDocuments(java.util.Map<java.lang.String,java.lang.String> documents)
documents
- The documents to set.