io.nosqlbench.nb.api.errors.BasicError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nb-api Show documentation
Show all versions of nb-api Show documentation
The top level API module for NoSQLBench. This module should have no internal
module dependencies other than the mvn-default module.
All modules within NoSQLBench can safely depend on this module with circular
dependencies. This module provides cross-cutting code infrastracture, such as
path utilities and ways of describing services used between modules.
It is also the transitive aggregation point for system-wide library dependencies
for logging and testing or similar needs.
package io.nosqlbench.nb.api.errors;
/**
* User exceptions are errors for which we know how to explain the cause to the user.
* For these, we should not need to log or report stack traces to any channel, as
* the cause of and thus the remedy for the error should be very obvious.
*/
public class BasicError extends RuntimeException {
public BasicError(String exception) {
super(exception);
}
public BasicError(String exception, Throwable cause) {
super(exception,cause);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy