예제 #1
0
 public void GetMessage()
 {
     DatabaseException e = new DatabaseException(-8);
     Assert.AreEqual("Invalid parameter", e.Message);
 }
예제 #2
0
 public void GetErrno()
 {
     DatabaseException e = new DatabaseException(13);
     Assert.AreEqual(13, e.ErrorCode);
 }