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