oaException Class Reference
Inheritance diagram for oaException:
Detailed Description
The oaException class implements various types of exception objects the OpenAccess system can throw. The symbols for the possible message IDs are defined in an enum for each package. The enums are:
- oaBaseMsgIds
- oaDDMsgIds
- oaTechMsgIds
- oaDesignMsgIds
Applications should use the oaException class to catch all the exceptions thrown by the database.
Constructor & Destructor Documentation
oaException::~oaException |
( |
|
) |
[inline, virtual] |
|
|
This is the destructor for the oaException object. |
Member Function Documentation
void oaException::format |
( |
va_list & |
args |
) |
[protected] |
|
|
This is a utility function that formats a message from a variable length list of arguments. A message with ID msgId is generated and is stored in msg. |
const oaString & oaException::getFormatString |
( |
|
) |
const [protected, virtual] |
|
oaUInt8 oaException::getLastOSError |
( |
|
) |
[static] |
|
|
This function returns the error code of the last error reported by the operating system. |
const oaString & oaException::getMsg |
( |
|
) |
const [inline] |
|
|
This function returns the message for the current exception, which can contain object names or other data for this specific occurrence of the exception. |
oaUInt4 oaException::getMsgId |
( |
|
) |
const [inline] |
|
|
This function returns an integer for the current type of exception. |
oaUInt4 oaException::getOSErrorStr |
( |
oaString & |
errStr |
) |
[static, protected] |
|
|
This function returns the OS error string in errStr for the current exception. |
The documentation for this class was generated from the following files:
Return to top of page
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.