Package org.bson

Class BsonSerializationException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    BsonMaximumSizeExceededException

    @Deprecated(since="2022-10-31")
    public class BsonSerializationException
    extends BSONException
    Deprecated.
    Usage of this API is not supported in AEM as a Cloud Service.
    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)
      Deprecated.
      Construct a new instance.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BsonSerializationException

        public BsonSerializationException​(java.lang.String message)
        Deprecated.
        Construct a new instance.
        Parameters:
        message - the message