public class TaskErrorMeta
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TaskErrorMeta.TaskErrorType
The Enum TaskErrorType.
|
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
details
The details.
|
private java.lang.String |
errorTime
The error time.
|
private java.lang.Throwable |
throwable
The throwable.
|
private TaskErrorMeta.TaskErrorType |
type
The type.
|
Constructor and Description |
---|
TaskErrorMeta(TaskErrorMeta.TaskErrorType type,
java.lang.String details)
Instantiates a new task error meta.
|
TaskErrorMeta(TaskErrorMeta.TaskErrorType type,
java.lang.String details,
java.lang.Throwable throwable)
Instantiates a new task error meta.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDetails()
Gets the details.
|
java.lang.String |
getErrorTime()
Gets the error time.
|
java.lang.Throwable |
getThrowable()
Gets the throwable.
|
TaskErrorMeta.TaskErrorType |
getType()
Gets the type.
|
void |
setDetails(java.lang.String details)
Sets the details.
|
void |
setErrorTime(java.lang.String errorTime)
Sets the error time.
|
void |
setThrowable(java.lang.Throwable throwable)
Sets the throwable.
|
void |
setType(TaskErrorMeta.TaskErrorType type)
Sets the type.
|
private TaskErrorMeta.TaskErrorType type
private java.lang.String errorTime
private java.lang.Throwable throwable
private java.lang.String details
public TaskErrorMeta(TaskErrorMeta.TaskErrorType type, java.lang.String details)
type
- the typedetails
- the detailspublic TaskErrorMeta(TaskErrorMeta.TaskErrorType type, java.lang.String details, java.lang.Throwable throwable)
type
- the typedetails
- the detailsthrowable
- the throwablepublic TaskErrorMeta.TaskErrorType getType()
public void setType(TaskErrorMeta.TaskErrorType type)
type
- the new typepublic java.lang.String getErrorTime()
public void setErrorTime(java.lang.String errorTime)
errorTime
- the new error timepublic java.lang.Throwable getThrowable()
public void setThrowable(java.lang.Throwable throwable)
throwable
- the new throwablepublic java.lang.String getDetails()
public void setDetails(java.lang.String details)
details
- the new details