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

io.nosqlbench.nb.api.errors.BasicError Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 5.17.0
Show newest version
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