class GenericDatabaseException extends Exception with DatabaseException with Product2[String, Option[Int]] with Serializable
A generic error thrown by a MongoDB node.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- GenericDatabaseException
- Product2
- Product
- Equals
- DatabaseException
- ReactiveMongoException
- Exception
- Throwable
- Serializable
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
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 GenericDatabaseException toany2stringadd[GenericDatabaseException] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (GenericDatabaseException, B)
- Implicit
- This member is added by an implicit conversion from GenericDatabaseException toArrowAssoc[GenericDatabaseException] 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()
- val code: Option[Int]
error code
error code
- Definition Classes
- GenericDatabaseException → DatabaseException
- def ensuring(cond: (GenericDatabaseException) => Boolean, msg: => Any): GenericDatabaseException
- Implicit
- This member is added by an implicit conversion from GenericDatabaseException toEnsuring[GenericDatabaseException] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (GenericDatabaseException) => Boolean): GenericDatabaseException
- Implicit
- This member is added by an implicit conversion from GenericDatabaseException toEnsuring[GenericDatabaseException] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): GenericDatabaseException
- Implicit
- This member is added by an implicit conversion from GenericDatabaseException toEnsuring[GenericDatabaseException] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): GenericDatabaseException
- Implicit
- This member is added by an implicit conversion from GenericDatabaseException toEnsuring[GenericDatabaseException] 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
- GenericDatabaseException → Equals → DatabaseException → AnyRef → Any
- def fillInStackTrace(): Throwable
- Definition Classes
- Throwable
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from GenericDatabaseException toStringFormat[GenericDatabaseException] 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
- GenericDatabaseException → 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
- val message: String
explanation message
explanation message
- Definition Classes
- GenericDatabaseException → 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: None.type
original document of this error
original document of this error
- Definition Classes
- GenericDatabaseException → DatabaseException
- def printStackTrace(arg0: PrintWriter): Unit
- Definition Classes
- Throwable
- def printStackTrace(arg0: PrintStream): Unit
- Definition Classes
- Throwable
- def printStackTrace(): Unit
- Definition Classes
- Throwable
- def productArity: Int
- Definition Classes
- Product2 → Product
- def productElement(n: Int): Any
- Definition Classes
- Product2 → Product
- Annotations
- @throws(classOf[java.lang.IndexOutOfBoundsException])
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def productPrefix: String
- Definition Classes
- Product
- def setStackTrace(arg0: Array[StackTraceElement]): Unit
- Definition Classes
- Throwable
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- GenericDatabaseException → 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 _1: String
- Definition Classes
- GenericDatabaseException → Product2
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 0.20.3) No longer a case class
- def _2: Option[Int]
- Definition Classes
- GenericDatabaseException → Product2
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 0.20.3) No longer a case class
- def canEqual(that: Any): Boolean
- Definition Classes
- GenericDatabaseException → Equals
- Annotations
- @deprecated
- Deprecated
(Since version 0.20.3) No longer a case class
- 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): (GenericDatabaseException, B)
- Implicit
- This member is added by an implicit conversion from GenericDatabaseException toArrowAssoc[GenericDatabaseException] 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.