标签:c a new io date public
public void Update(byte[] buffer) { if ( buffer == null ) { throw new ArgumentNullException("buffer"); //判断参数为空,抛出异常,而非try catch捕获 }
Update(buffer, 0, buffer.Length); }
异常处理情况,布布扣,bubuko.com
异常处理情况
原文地址:http://www.cnblogs.com/changbaishan/p/3747786.html