BDB.BDB43.CheckError C# (CSharp) Method

CheckError() static private method

static private CheckError ( int error ) : void
error int
return void
		static void CheckError(int error) {
			if (error == 0) return;
			throw new DatabaseException( Marshal.PtrToStringAnsi(db_strerror(error)) );
		}