c

reactivemongo.core.commands

DefaultCommandError

class DefaultCommandError extends Exception with BSONCommandError

A default command error, which may contain the original BSONDocument of the response.

Linear Supertypes
BSONCommandError, CommandError, ReactiveMongoException, Exception, Throwable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultCommandError
  2. BSONCommandError
  3. CommandError
  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 DefaultCommandError(message: String, code: Option[Int], originalDocument: Option[BSONDocument])

    message

    The error message.

    code

    The optional error code.

    originalDocument

    The original BSONDocument of this error.

Value Members

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

    error code

    error code

    Definition Classes
    DefaultCommandErrorCommandError
  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
    BSONCommandErrorCommandErrorReactiveMongoException → Throwable
  7. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Throwable
  8. final def getSuppressed(): Array[Throwable]
    Definition Classes
    Throwable
  9. def initCause(arg0: Throwable): Throwable
    Definition Classes
    Throwable
  10. val message: String

    explanation message

    explanation message

    Definition Classes
    DefaultCommandErrorReactiveMongoException
  11. val originalDocument: Option[BSONDocument]
  12. def printStackTrace(arg0: PrintWriter): Unit
    Definition Classes
    Throwable
  13. def printStackTrace(arg0: PrintStream): Unit
    Definition Classes
    Throwable
  14. def printStackTrace(): Unit
    Definition Classes
    Throwable
  15. def setStackTrace(arg0: Array[StackTraceElement]): Unit
    Definition Classes
    Throwable
  16. def toString(): String
    Definition Classes
    Throwable → AnyRef → Any