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

berlin.yuna.survey.model.exception.FlowRuntimeException Maven / Gradle / Ivy

Go to download

Survey is a plain java library to provide a base for surveys / questionnaires. It also provides a function to generate diagrams and to measure answer times.

The newest version!
package berlin.yuna.survey.model.exception;

@SuppressWarnings({"unused", "UnusedReturnValue"})
public class FlowRuntimeException extends RuntimeException {

    final String label;
    final String flow;

    public FlowRuntimeException(final String label, final String flow, final String message) {
        this(label, flow, message, null);
    }

    public FlowRuntimeException(final String label, final String flow, final String message, final Throwable throwable) {
        super(message, throwable);
        this.label = label;
        this.flow = flow;
    }

    public String getLabel() {
        return label;
    }

    public String getFlow() {
        return flow;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy