public class FailedTaskReport extends AbstractMOAObject
TaskThread returns this class as final result object when a task fails.| Modifier and Type | Field and Description |
|---|---|
protected Throwable |
failureReason |
| Constructor and Description |
|---|
FailedTaskReport(Throwable failureReason) |
| Modifier and Type | Method and Description |
|---|---|
void |
getDescription(StringBuilder sb,
int indent)
Returns a string representation of this object.
|
Throwable |
getFailureReason() |
copy, copy, measureByteSize, measureByteSize, toStringprotected Throwable failureReason
public FailedTaskReport(Throwable failureReason)
public Throwable getFailureReason()
public void getDescription(StringBuilder sb, int indent)
MOAObjectAbstractMOAObject.toString
to give a string representation of the object.sb - the stringbuilder to add the descriptionindent - the number of characters to indentCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.