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
Ordering
- Alphabetic
- By Inheritance
Inherited
- DetailedDatabaseException
- NoStackTrace
- DatabaseException
- ReactiveMongoException
- Exception
- Throwable
- Serializable
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new DetailedDatabaseException(doc: BSONDocument)
Type Members
- type Document = BSONDocument
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from DetailedDatabaseException toany2stringadd[DetailedDatabaseException] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (DetailedDatabaseException, B)
- Implicit
- This member is added by an implicit conversion from DetailedDatabaseException toArrowAssoc[DetailedDatabaseException] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def addSuppressed(arg0: Throwable): Unit
- Definition Classes
- Throwable
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- lazy val code: Option[Int]
error code
error code
- Definition Classes
- DetailedDatabaseException → DatabaseException
- def ensuring(cond: (DetailedDatabaseException) => Boolean, msg: => Any): DetailedDatabaseException
- Implicit
- This member is added by an implicit conversion from DetailedDatabaseException toEnsuring[DetailedDatabaseException] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (DetailedDatabaseException) => Boolean): DetailedDatabaseException
- Implicit
- This member is added by an implicit conversion from DetailedDatabaseException toEnsuring[DetailedDatabaseException] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): DetailedDatabaseException
- Implicit
- This member is added by an implicit conversion from DetailedDatabaseException toEnsuring[DetailedDatabaseException] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): DetailedDatabaseException
- Implicit
- This member is added by an implicit conversion from DetailedDatabaseException toEnsuring[DetailedDatabaseException] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(that: Any): Boolean
- Definition Classes
- DatabaseException → AnyRef → Any
- def fillInStackTrace(): Throwable
- Definition Classes
- NoStackTrace → Throwable
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from DetailedDatabaseException toStringFormat[DetailedDatabaseException] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- def getCause(): Throwable
- Definition Classes
- Throwable
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getLocalizedMessage(): String
- Definition Classes
- Throwable
- def getMessage(): String
- Definition Classes
- DatabaseException → ReactiveMongoException → Throwable
- def getStackTrace(): Array[StackTraceElement]
- Definition Classes
- Throwable
- final def getSuppressed(): Array[Throwable]
- Definition Classes
- Throwable
- def hashCode(): Int
- Definition Classes
- DatabaseException → AnyRef → Any
- def initCause(arg0: Throwable): Throwable
- Definition Classes
- Throwable
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- def isUnauthorized: Boolean
Tells if this error is related to authentication issues.
Tells if this error is related to authentication issues.
- Definition Classes
- DatabaseException
- lazy val message: String
explanation message
explanation message
- Definition Classes
- DetailedDatabaseException → ReactiveMongoException
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val originalDocument: Some[BSONDocument]
original document of this error
original document of this error
- Definition Classes
- DetailedDatabaseException → DatabaseException
- def printStackTrace(arg0: PrintWriter): Unit
- Definition Classes
- Throwable
- def printStackTrace(arg0: PrintStream): Unit
- Definition Classes
- Throwable
- def printStackTrace(): Unit
- Definition Classes
- Throwable
- def setStackTrace(arg0: Array[StackTraceElement]): Unit
- Definition Classes
- Throwable
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- DatabaseException → Throwable → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.
- def →[B](y: B): (DetailedDatabaseException, B)
- Implicit
- This member is added by an implicit conversion from DetailedDatabaseException toArrowAssoc[DetailedDatabaseException] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.