public class JobExceptionsInfoWithHistory extends JobExceptionsInfo implements ResponseBody
JobExceptionsInfoWithHistory
extends JobExceptionsInfo
providing a history of
previously caused failures. It's the response type of the JobExceptionsHandler
.Modifier and Type | Class and Description |
---|---|
static class |
JobExceptionsInfoWithHistory.ExceptionInfo
Json equivalent of
ExceptionHistoryEntry . |
static class |
JobExceptionsInfoWithHistory.JobExceptionHistory
JobExceptionHistory collects all previously caught errors. |
static class |
JobExceptionsInfoWithHistory.RootExceptionInfo
Json equivalent of
RootExceptionHistoryEntry . |
JobExceptionsInfo.ExecutionExceptionInfo
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_NAME_EXCEPTION_HISTORY |
FIELD_NAME_ALL_EXCEPTIONS, FIELD_NAME_ROOT_EXCEPTION, FIELD_NAME_TIMESTAMP, FIELD_NAME_TRUNCATED
Constructor and Description |
---|
JobExceptionsInfoWithHistory(JobExceptionsInfoWithHistory.JobExceptionHistory exceptionHistory) |
JobExceptionsInfoWithHistory(String rootException,
Long rootTimestamp,
List<JobExceptionsInfo.ExecutionExceptionInfo> allExceptions,
boolean truncated,
JobExceptionsInfoWithHistory.JobExceptionHistory exceptionHistory) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
JobExceptionsInfoWithHistory.JobExceptionHistory |
getExceptionHistory() |
int |
hashCode() |
String |
toString() |
getAllExceptions, getRootException, getRootTimestamp, isTruncated
public static final String FIELD_NAME_EXCEPTION_HISTORY
public JobExceptionsInfoWithHistory(String rootException, Long rootTimestamp, List<JobExceptionsInfo.ExecutionExceptionInfo> allExceptions, boolean truncated, JobExceptionsInfoWithHistory.JobExceptionHistory exceptionHistory)
public JobExceptionsInfoWithHistory(JobExceptionsInfoWithHistory.JobExceptionHistory exceptionHistory)
public JobExceptionsInfoWithHistory.JobExceptionHistory getExceptionHistory()
public boolean equals(Object o)
equals
in class JobExceptionsInfo
public int hashCode()
hashCode
in class JobExceptionsInfo
public String toString()
toString
in class JobExceptionsInfo
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.