Bson Exception
open class BsonException(message: String?, cause: Throwable?, errorCode: Int?) : RuntimeException
Content copied to clipboard
A general runtime exception raised in BSON processing.
Parameters
message
the error message
cause
the error cause
error Code
the error code
Constructors
Link copied to clipboard
fun BsonException(message: String? = null, cause: Throwable? = null, errorCode: Int? = null)
Content copied to clipboard
constructs a new instance with the given message, cause and errorCode
Functions
Link copied to clipboard
Return the error code if set
Link copied to clipboard
Returns if the error code is set (i.e., not null).