c

reactivemongo.core.errors

DetailedDatabaseException

class DetailedDatabaseException extends Exception with DatabaseException with NoStackTrace

An error thrown by a MongoDB node (containing the original document of the error).

Annotations
@deprecated
Deprecated

(Since version 0.19.0) Will be remove

Linear Supertypes
NoStackTrace, DatabaseException, ReactiveMongoException, Exception, Throwable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DetailedDatabaseException
  2. NoStackTrace
  3. DatabaseException
  4. ReactiveMongoException
  5. Exception
  6. Throwable
  7. Serializable
  8. AnyRef
  9. 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

Instance Constructors

  1. new DetailedDatabaseException(doc: BSONDocument)

Type Members

  1. type Document = BSONDocument

Value Members

  1. final def addSuppressed(arg0: Throwable): Unit
    Definition Classes
    Throwable
  2. lazy val code: Option[Int]

    error code

    error code

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

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

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

    Definition Classes
    DatabaseException
  13. def isUnauthorized: Boolean

    Tells if this error is related to authentication issues.

    Tells if this error is related to authentication issues.

    Definition Classes
    DatabaseException
  14. lazy val message: String

    explanation message

    explanation message

    Definition Classes
    DetailedDatabaseExceptionReactiveMongoException
  15. val originalDocument: Some[BSONDocument]

    original document of this error

    original document of this error

    Definition Classes
    DetailedDatabaseExceptionDatabaseException
  16. def printStackTrace(arg0: PrintWriter): Unit
    Definition Classes
    Throwable
  17. def printStackTrace(arg0: PrintStream): Unit
    Definition Classes
    Throwable
  18. def printStackTrace(): Unit
    Definition Classes
    Throwable
  19. def setStackTrace(arg0: Array[StackTraceElement]): Unit
    Definition Classes
    Throwable
  20. def toString(): String
    Definition Classes
    DatabaseException → Throwable → AnyRef → Any