NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::ErrorInfo Class Reference

Contains information about an error that occurred
Created in NX3.0.0. More...

Inheritance diagram for NXOpen::ErrorInfo:
NXOpen::TransientObject

Public Member Functions

NXString Description ()
 Returns a description of the error
Created in NX3.0.0. More...
 
int ErrorCode ()
 Returns a number that represents what error occurred
Created in NX3.0.0. More...
 
NXOpen::NXObjectErrorObject ()
 Returns the object for which the error occurred. More...
 
NXString ErrorObjectDescription ()
 Returns a description of the object for which the error occurred
Created in NX3.0.0. More...
 
virtual ~ErrorInfo ()
 Frees this object from memory. More...
 
- Public Member Functions inherited from NXOpen::TransientObject
void * GetHandle ()
 Handle of the internal object represented by this object. More...
 

Detailed Description

Contains information about an error that occurred
Created in NX3.0.0.


Constructor & Destructor Documentation

virtual NXOpen::ErrorInfo::~ErrorInfo ( )
virtual

Frees this object from memory.

After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Created in NX3.0.0.

License requirements : None

Member Function Documentation

NXString NXOpen::ErrorInfo::Description ( )

Returns a description of the error
Created in NX3.0.0.



License requirements : None

int NXOpen::ErrorInfo::ErrorCode ( )

Returns a number that represents what error occurred
Created in NX3.0.0.



License requirements : None

NXOpen::NXObject* NXOpen::ErrorInfo::ErrorObject ( )

Returns the object for which the error occurred.

This may be NULL if the object was deleted.
Note: if the object was deleted, ErrorObjectDescription may be used to obtain a description of the object.


Created in NX3.0.0.

License requirements : None

NXString NXOpen::ErrorInfo::ErrorObjectDescription ( )

Returns a description of the object for which the error occurred
Created in NX3.0.0.



License requirements : None


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.