All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.castled.exceptions.pipeline.PipelineExecutionException Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
package io.castled.exceptions.pipeline;

import io.castled.exceptions.CastledException;
import lombok.Getter;

@Getter
public class PipelineExecutionException extends CastledException {

    private final Long pipelineId;
    private final PipelineError pipelineError;
    private final String errorMessage;

    public PipelineExecutionException(Long pipelineId, PipelineError pipelineError, String errorMessage) {
        super(String.format("Pipeline %d failed to run with error %s", pipelineId, errorMessage));
        this.pipelineId = pipelineId;
        this.pipelineError = pipelineError;
        this.errorMessage = errorMessage;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy