首页 / design / oaDesignException

oaDesignException

模块: oapy._oa._design 导入: from oapy._oa import _design

概览

oaDesignExceptionoapy 中可用,可通过 _design 模块访问。

本页汇总 oaDesignException 当前在 oapy 中可用的 Python 接口。

详细说明

The oaDesignException class is the base class for design 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 _design

# assume obj is a oaDesignException
obj.getFormatString()