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

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • BasicError

      public BasicError​(java.lang.String exception)
    • BasicError

      public BasicError​(java.lang.String exception, java.lang.Throwable cause)