t

reactivemongo.core.errors

DatabaseException

trait DatabaseException extends Exception with ReactiveMongoException

An error thrown by a MongoDB node.

Linear Supertypes
ReactiveMongoException, Exception, Throwable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DatabaseException
  2. ReactiveMongoException
  3. Exception
  4. Throwable
  5. Serializable
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def code: Option[Int]

    error code

  2. abstract def message: String

    explanation message

    explanation message

    Definition Classes
    ReactiveMongoException
  3. abstract def originalDocument: Option[BSONDocument]

    original document of this error

    original document of this error

    Annotations
    @deprecated
    Deprecated

    (Since version 0.19.0) Internal: will be made private

Concrete Value Members

  1. final def addSuppressed(arg0: Throwable): Unit
    Definition Classes
    Throwable
  2. def equals(that: Any): Boolean
    Definition Classes
    DatabaseException → AnyRef → Any
  3. def fillInStackTrace(): Throwable
    Definition Classes
    Throwable
  4. def getCause(): Throwable
    Definition Classes
    Throwable
  5. def getLocalizedMessage(): String
    Definition Classes
    Throwable
  6. def getMessage(): String
    Definition Classes
    DatabaseExceptionReactiveMongoException → Throwable
  7. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Throwable
  8. final def getSuppressed(): Array[Throwable]
    Definition Classes
    Throwable
  9. def hashCode(): Int
    Definition Classes
    DatabaseException → AnyRef → Any
  10. def initCause(arg0: Throwable): Throwable
    Definition Classes
    Throwable
  11. def isNotAPrimaryError: Boolean

    Tells if this error is due to a write on a secondary node.

  12. def isUnauthorized: Boolean

    Tells if this error is related to authentication issues.

  13. def printStackTrace(arg0: PrintWriter): Unit
    Definition Classes
    Throwable
  14. def printStackTrace(arg0: PrintStream): Unit
    Definition Classes
    Throwable
  15. def printStackTrace(): Unit
    Definition Classes
    Throwable
  16. def setStackTrace(arg0: Array[StackTraceElement]): Unit
    Definition Classes
    Throwable
  17. def toString(): String
    Definition Classes
    DatabaseException → Throwable → AnyRef → Any