Package org.bson

Class BsonInvalidOperationException

All Implemented Interfaces:
Serializable

public class BsonInvalidOperationException extends BSONException
An exception indicating an invalid BSON operation.
Since:
3.0
See Also:
  • Constructor Details

    • BsonInvalidOperationException

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

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