Packages

o

org.mongodb.scala

MongoException

object MongoException

Top level Exception for all Exceptions, server-side or client-side, that come from the driver.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MongoException
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val RETRYABLE_ERROR_LABEL: String

    The operation is safe to retry, that is, retry without rereading the relevant data or considering the semantics of the operation.

    The operation is safe to retry, that is, retry without rereading the relevant data or considering the semantics of the operation.

    For more information on how transactions affect retries, see the documentation of the "TransientTransactionError", "UnknownTransactionCommitResult" error labels.

    Since

    5.12

    Note

    Requires MongoDB 9.0 or greater

  5. val SYSTEM_OVERLOADED_ERROR_LABEL: String

    Server is overloaded and shedding load.

    Server is overloaded and shedding load. If an application retries explicitly, it should use exponential backoff because the server has indicated overload. This label on its own does not mean that the operation can be safely retried.

    Since

    5.12

    Note

    Requires MongoDB 9.0 or greater

    See also

    overloadAwareServerSelectionEnabled

  6. val TRANSIENT_TRANSACTION_ERROR_LABEL: String

    An error label indicating that the exception can be treated as a transient transaction error.

    An error label indicating that the exception can be treated as a transient transaction error. See the documentation linked below for more information.

    Since

    2.4

    See also

    TransientTransactionError

  7. val UNKNOWN_TRANSACTION_COMMIT_RESULT_LABEL: String

    An error label indicating that the exception can be treated as an unknown transaction commit result.

    An error label indicating that the exception can be treated as an unknown transaction commit result. See the documentation linked below for more information.

    Since

    2.4

    See also

    UnknownTransactionCommitResult

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped