Class ExceptionHistoryEntry

    • Constructor Detail

      • ExceptionHistoryEntry

        protected ExceptionHistoryEntry​(Throwable cause,
                                        long timestamp,
                                        CompletableFuture<Map<String,​String>> failureLabels,
                                        @Nullable
                                        String failingTaskName,
                                        @Nullable
                                        TaskManagerLocation taskManagerLocation)
        Instantiates a ExceptionHistoryEntry.
        Parameters:
        cause - The reason for the failure.
        timestamp - The time the failure was caught.
        failureLabels - The labels associated with the failure.
        failingTaskName - The name of the task that failed.
        taskManagerLocation - The host the task was running on.
        Throws:
        NullPointerException - if cause is null.
        IllegalArgumentException - if the passed timestamp is not bigger than 0.