make init error types distinct

This commit is contained in:
Jonathan Shook 2021-07-06 11:12:14 -05:00
parent 8dfcabfa14
commit 061b0b69fb

View File

@ -0,0 +1,14 @@
package io.nosqlbench.nb.api.errors;
/**
* ActivityInitErrors are those known to occur during the initiailization of an activity.
*/
public class ActivityInitError extends RuntimeException {
public ActivityInitError(String message, Throwable cause) {
super(message, cause);
}
public ActivityInitError(String error) {
super(error);
}
}