Remove unused exception class.
This commit is contained in:
parent
140dfa9f32
commit
e9195c83ad
@ -29,10 +29,7 @@ module BSON
|
||||
# Raised when given a string is not valid utf-8 (Ruby 1.8 only).
|
||||
class InvalidStringEncoding < BSONError; end
|
||||
|
||||
# Raised when attempting to initialize an invalid ObjectID.
|
||||
class InvalidObjectID < BSONError; end
|
||||
|
||||
# Raised when attempting to initialize an invalid ObjectID.
|
||||
# Raised when attempting to initialize an invalid ObjectId.
|
||||
class InvalidObjectId < BSONError; end
|
||||
|
||||
# Raised when trying to insert a document that exceeds the 4MB limit or
|
||||
|
@ -26,7 +26,7 @@ module BSON
|
||||
# Create a DBRef. Use this class in conjunction with DB#dereference.
|
||||
#
|
||||
# @param [String] a collection name
|
||||
# @param [ObjectID] an object id
|
||||
# @param [ObjectId] an object id
|
||||
#
|
||||
# @core dbrefs constructor_details
|
||||
def initialize(namespace, object_id)
|
||||
|
Loading…
Reference in New Issue
Block a user