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

com.signalfx.signalflow.ComputationFailedException Maven / Gradle / Ivy

/*
 * Copyright (C) 2016 SignalFx, Inc. All rights reserved.
 */
package com.signalfx.signalflow;

import java.util.List;

/**
 * Exception thrown when the computation failed after being started.
 *
 * @author dgriff
 */
public class ComputationFailedException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    protected List errors;

    public ComputationFailedException(List errors) {
        super("Computation failed (" + errors + ")");
        this.errors = errors;
    }

    public List getErrors() {
        return this.errors;
    }
}