berlin.yuna.survey.model.exception.FlowRuntimeException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of surveys Show documentation
Show all versions of surveys Show documentation
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;
}
}