A base class for exceptions thrown by NXOpen methods.
More...
|
| void | AssertErrorCode (int code) const |
| | Assert if the error code is unexpected.
|
| |
| int | ErrorCode () const |
| | Gets the error code associated with this exception.
|
| |
| int | GetErrorCode () const |
| | <b>Deprecated</b>:<br>
Use ErrorCode instead.
|
| |
| const char * | GetMessage () const |
| | <b>Deprecated</b>:<br>
Use Message instead.
|
| |
| const char * | Message () const |
| | Gets the error message associated with this exception.
|
| |
| | NXException (const NXException &other) |
| | Copy constructor.
|
| |
| virtual const char * | what () const throw () |
| | Gets the error message associated with this exception.
|
| |
| virtual | ~NXException () throw () |
| | Destructor.
|
| |
A base class for exceptions thrown by NXOpen methods.
| NXOpen::NXException::NXException |
( |
const NXException & |
other | ) |
|
| virtual NXOpen::NXException::~NXException |
( |
| ) |
throw () |
|
virtual |
| void NXOpen::NXException::AssertErrorCode |
( |
int |
code | ) |
const |
Assert if the error code is unexpected.
| static NXException NXOpen::NXException::Create |
( |
int |
errorCode | ) |
|
|
static |
| static NXException NXOpen::NXException::Create |
( |
const char * |
message | ) |
|
|
static |
Creates an NXException based on a message in English.
The error code is set to zero.
| int NXOpen::NXException::ErrorCode |
( |
| ) |
const |
Gets the error code associated with this exception.
| int NXOpen::NXException::GetErrorCode |
( |
| ) |
const |
| const char* NXOpen::NXException::GetMessage |
( |
| ) |
const |
| const char* NXOpen::NXException::Message |
( |
| ) |
const |
Gets the error message associated with this exception.
| virtual const char* NXOpen::NXException::what |
( |
| ) |
const throw () |
|
virtual |
Gets the error message associated with this exception.
Does not throw an exception.
The documentation for this class was generated from the following file:
Copyright 2013 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.