mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
make init error types distinct
This commit is contained in:
parent
8dfcabfa14
commit
061b0b69fb
@ -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);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user