Class OpConfigError

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.nosqlbench.nb.api.errors.ActivityInitError
io.nosqlbench.nb.api.errors.OpConfigError
All Implemented Interfaces:
java.io.Serializable

public class OpConfigError
extends ActivityInitError
OpConfigErrors are BasicErrors which are known to occur when there is an invalid set of configuration details for an op. This can occur when the user-provided op template data (such as from YAML) is being inspected by a driver adapter to synthesize operations (or functions which know how to do so).
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    OpConfigError​(java.lang.String error)  
    OpConfigError​(java.lang.String error, java.lang.String configSource)  
    OpConfigError​(java.lang.String error, java.lang.String configSource, java.lang.Throwable cause)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getCfgSrc()  
    java.lang.String getMessage()  

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, 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

    • OpConfigError

      public OpConfigError​(java.lang.String error)
    • OpConfigError

      public OpConfigError​(java.lang.String error, java.lang.String configSource)
    • OpConfigError

      public OpConfigError​(java.lang.String error, java.lang.String configSource, java.lang.Throwable cause)
  • Method Details

    • getCfgSrc

      public java.lang.String getCfgSrc()
    • getMessage

      public java.lang.String getMessage()
      Overrides:
      getMessage in class java.lang.Throwable