Constructs a BSON ObjectId element from a hexadecimal String representation.
Constructs a BSON ObjectId element from a hexadecimal String representation. Throws an exception if the given argument is not a valid ObjectID.
parse(str: String): Try[BSONObjectID]
should be considered instead of this method.
Generates a new BSON ObjectID.
Tries to make a BSON ObjectId element from a hexadecimal String representation.