+ -
当前位置:首页 → 问答吧 → 这样的异常在delphi中应该怎样处理啊?

这样的异常在delphi中应该怎样处理啊?

时间:2011-08-28

来源:互联网

VC中有这样的异常:
  try {
  datatype_id = p_get_type(); // returned value is already validated
  }
  catch (DataSetIException E) {
  throw DataTypeIException("DataSet::getTypeClass", E.getDetailMsg());
  }
  catch (AttributeIException E) {
  throw DataTypeIException("Attribute::getTypeClass", E.getDetailMsg());
  }
它有两个 catch 在delphi中应该怎么对应呢?

作者: jilaoyun   发布时间: 2011-08-28

delphi中异常的截获及其个性化处理 
http://media.ccidnet.com/media/swm/150/15805.htm

作者: gxgyj   发布时间: 2011-08-28

可以在catch里面做IF判断!

作者: xilor   发布时间: 2011-08-28

来关注下

作者: iqyely   发布时间: 2011-08-28