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:
java.io.Serializable
- Direct Known Subclasses:
BsonMaximumSizeExceededException
public class BsonSerializationException extends BSONException
An exception indicating a failure to serialize a BSON value.- Since:
- 3.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BsonSerializationException(java.lang.String message)
Construct a new instance.
-
Method Summary
-
Methods inherited from class org.bson.BSONException
getErrorCode, hasErrorCode
-
-