Package com.mongodb
Class MongoInternalException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.mongodb.MongoException
-
- com.mongodb.MongoInternalException
-
public class MongoInternalException extends MongoException
A Mongo exception internal to the driver, not carrying any error code.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.mongodb.MongoException
TRANSIENT_TRANSACTION_ERROR_LABEL, UNKNOWN_TRANSACTION_COMMIT_RESULT_LABEL
-
-
Constructor Summary
Constructors Constructor Description MongoInternalException(java.lang.String msg)
MongoInternalException(java.lang.String msg, java.lang.Throwable t)
-
Method Summary
-
Methods inherited from class com.mongodb.MongoException
addLabel, fromThrowable, fromThrowableNonNull, getCode, getErrorLabels, hasErrorLabel, removeLabel
-
-
-
-
Constructor Detail
-
MongoInternalException
public MongoInternalException(java.lang.String msg)
- Parameters:
msg
- the description of the problem
-
MongoInternalException
public MongoInternalException(java.lang.String msg, java.lang.Throwable t)
- Parameters:
msg
- the description of the problemt
- the Throwable root cause
-
-