Remove unused exception class.

This commit is contained in:
Kyle Banker 2011-04-25 15:59:34 -04:00
parent 140dfa9f32
commit e9195c83ad
2 changed files with 2 additions and 5 deletions

View File

@ -29,10 +29,7 @@ module BSON
# Raised when given a string is not valid utf-8 (Ruby 1.8 only). # Raised when given a string is not valid utf-8 (Ruby 1.8 only).
class InvalidStringEncoding < BSONError; end class InvalidStringEncoding < BSONError; end
# Raised when attempting to initialize an invalid ObjectID. # Raised when attempting to initialize an invalid ObjectId.
class InvalidObjectID < BSONError; end
# Raised when attempting to initialize an invalid ObjectID.
class InvalidObjectId < BSONError; end class InvalidObjectId < BSONError; end
# Raised when trying to insert a document that exceeds the 4MB limit or # Raised when trying to insert a document that exceeds the 4MB limit or

View File

@ -26,7 +26,7 @@ module BSON
# Create a DBRef. Use this class in conjunction with DB#dereference. # Create a DBRef. Use this class in conjunction with DB#dereference.
# #
# @param [String] a collection name # @param [String] a collection name
# @param [ObjectID] an object id # @param [ObjectId] an object id
# #
# @core dbrefs constructor_details # @core dbrefs constructor_details
def initialize(namespace, object_id) def initialize(namespace, object_id)