public final class FailedJob extends AbstractFailure
public FailedJob(String id, String message, Optional<String> description, Optional<Throwable> cause, Optional<byte[]> data)
id
- Identifier of the Job that produced the error.message
- One-line error message.description
- Long error description.cause
- Java Exception that caused the error.data
- byte array that contains serialized version of the error.Copyright © 2017 The Apache Software Foundation. All rights reserved.