Package org.bson

Class BsonSerializationException

All Implemented Interfaces:
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:
  • Constructor Details

    • BsonSerializationException

      public BsonSerializationException(String message)
      Construct a new instance.
      Parameters:
      message - the message