Package com.mongodb
Class MongoInternalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.mongodb.MongoException
com.mongodb.MongoInternalException
- All Implemented Interfaces:
Serializable
A Mongo exception internal to the driver, not carrying any error code.
- See Also:
-
Field Summary
Fields inherited from class com.mongodb.MongoException
TRANSIENT_TRANSACTION_ERROR_LABEL, UNKNOWN_TRANSACTION_COMMIT_RESULT_LABEL -
Constructor Summary
ConstructorsConstructorDescriptionMongoInternalException(String msg, Throwable t) Method Summary
Methods inherited from class com.mongodb.MongoException
addLabel, addLabels, addLabels, fromThrowable, fromThrowableNonNull, getCode, getErrorLabels, hasErrorLabel, removeLabelMethods inherited from class java.lang.Throwable
getLocalizedMessage, initCause, setStackTrace, toString-
Constructor Details
-
MongoInternalException
- Parameters:
msg- the description of the problem
-
MongoInternalException
- Parameters:
msg- the description of the problemt- the Throwable root cause
-