Class ConfigException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class ConfigException
    extends MongoSparkException
    A class for all config exceptions
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ConfigException​(java.lang.String message)
      Constructs a new instance.
      ConfigException​(java.lang.String name, java.lang.Object value, @Nullable java.lang.String message)
      Constructs a new instance.
      ConfigException​(java.lang.String message, java.lang.Throwable cause)
      Constructs a new instance.
      ConfigException​(java.lang.Throwable cause)
      Constructs a new instance.
    • 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 Detail

      • ConfigException

        public ConfigException​(java.lang.String name,
                               java.lang.Object value,
                               @Nullable
                               @Nullable java.lang.String message)
        Constructs a new instance.
        Parameters:
        name - the name of the configuration option
        value - the value of the configuration option
        message - an optional helpful error message
      • ConfigException

        public ConfigException​(java.lang.String message)
        Constructs a new instance.
        Parameters:
        message - the message
      • ConfigException

        public ConfigException​(java.lang.String message,
                               java.lang.Throwable cause)
        Constructs a new instance.
        Parameters:
        message - the message
        cause - the cause
      • ConfigException

        public ConfigException​(java.lang.Throwable cause)
        Constructs a new instance.
        Parameters:
        cause - the cause