Package org.bson
Class BsonSerializationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.bson.BSONException
org.bson.BsonSerializationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BsonMaximumSizeExceededException
An exception indicating a failure to serialize a BSON value.
- Since:
- 3.0
- See Also:
-
Constructor Summary
-
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
-
BsonSerializationException
Construct a new instance.- Parameters:
message
- the message
-