public MongoCommandException(string message, Document error, Document command) : base(message,null) { this.error = error; this.command = command; }