private void GetMessage() { DatabaseException e = new DatabaseException(-8); Assert.AreEqual("Invalid parameter", e.Message); }
private void GetErrno() { DatabaseException e = new DatabaseException(13); Assert.AreEqual(13, e.ErrorCode); }