Adroit.Data.BDB46.CheckError C# (CSharp) 메소드

CheckError() 정적인 개인적인 메소드

static private CheckError ( int error ) : void
error int
리턴 void
		static void CheckError(int error) {
			if (error == 0)
				return;

			string message = Marshal.PtrToStringAnsi(db_strerror(error));
			Log.WarningFormat ("{0} Error({1})", message, error);

			throw new DatabaseException(message);
		}