oaTechException
模块: oapy._oa._tech
导入: from oapy._oa import _tech
概览
oaTechException 在 oapy 中可用,可通过 _tech 模块访问。
本页汇总 oaTechException 当前在 oapy 中可用的 Python 接口。
详细说明
The oaTechException class is the base class for technology database exceptions。 To be sure of catching all exceptions thrown by the database, callers generally use its base class, oaException , in their catch statements。
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getFormatString() |
方法说明
obj.getFormatString()
绑定状态: 已绑定
Python 调用: obj.getFormatString()
This function returns the appropriate formatting string for this exception。 从 oaException 重新实现。
Python 示例
from oapy._oa import _tech
# assume obj is a oaTechException
obj.getFormatString()