Package org.bson
Class BsonInvalidOperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.bson.BSONException
org.bson.BsonInvalidOperationException
- All Implemented Interfaces:
Serializable
An exception indicating an invalid BSON operation.
- Since:
- 3.0
- See Also:
-
Constructor Summary
ConstructorDescriptionBsonInvalidOperationException
(String message) Construct a new instance.BsonInvalidOperationException
(String message, Throwable t) Construct a new instance. -
Method Summary
Methods inherited from class org.bson.BSONException
getErrorCode, hasErrorCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BsonInvalidOperationException
Construct a new instance.- Parameters:
message
- the message
-
BsonInvalidOperationException
Construct a new instance.- Parameters:
message
- the messaget
- the throwable cause.- Since:
- 3.5
-