Class MongoSparkException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    ConfigException, DataException

    public class MongoSparkException
    extends java.lang.RuntimeException
    A base class for all mongo spark exceptions.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      MongoSparkException​(java.lang.String message)
      Constructs a new instance.
      MongoSparkException​(java.lang.String message, java.lang.Throwable cause)
      Constructs a new instance.
      MongoSparkException​(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

      • MongoSparkException

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

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

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