Package org.bson

Class BsonInvalidOperationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class BsonInvalidOperationException
    extends BSONException
    An exception indicating an invalid BSON operation.
    Since:
    3.0
    See Also:
    Serialized Form
    • 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

      • BsonInvalidOperationException

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

        public BsonInvalidOperationException​(java.lang.String message,
                                             java.lang.Throwable t)
        Construct a new instance.
        Parameters:
        message - the message
        t - the throwable cause.
        Since:
        3.5