Package io.nosqlbench.nb.api.errors
Class BasicError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.nosqlbench.nb.api.errors.BasicError
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
NBConfigError
public class BasicError
extends java.lang.RuntimeException
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.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description BasicError(java.lang.String exception)BasicError(java.lang.String exception, java.lang.Throwable cause) -
Method Summary
-
Constructor Details
-
BasicError
public BasicError(java.lang.String exception) -
BasicError
public BasicError(java.lang.String exception, java.lang.Throwable cause)
-