C# 클래스 MongoDB.Driver.Util.ErrorTranslator

Translates an error returned from Mongo into the proper exception.
파일 보기 프로젝트 열기: sdether/mongodb-csharp

공개 메소드들

메소드 설명
IsError ( Document doc ) : bool
Translate ( Document error ) : MongoException

비공개 메소드들

메소드 설명
BuildException ( string errnum, string msg, Document error ) : MongoException
GetErrorNum ( string msg ) : string

메소드 상세

IsError() 공개 정적인 메소드

public static IsError ( Document doc ) : bool
doc MongoDB.Driver.Document
리턴 bool

Translate() 공개 정적인 메소드

public static Translate ( Document error ) : MongoException
error MongoDB.Driver.Document
리턴 MongoDB.Driver.MongoException