NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Static Public Member Functions | Properties | List of all members
NXOpen.NXException Class Reference

A base class for exceptions thrown by NXOpen methods More...

Inheritance diagram for NXOpen.NXException:
ApplicationException

Public Member Functions

void AssertErrorCode (int status)
 Assert if the error code is unexpected. More...
 

Static Public Member Functions

static NXException Create (int status)
 Creates an NXException. More...
 
static NXException Create (string message)
 Creates an NXException. More...
 
static NXException Create (int status, string message)
 Creates an NXException. More...
 

Properties

int ErrorCode [get]
 Gets the error code associated with this exception. More...
 
override String Message [get]
 Gets the error message associated with this exception. More...
 
int UndoMark [get]
 Gets the undo mark associated with this exception. More...
 

Detailed Description

A base class for exceptions thrown by NXOpen methods

Member Function Documentation

void NXOpen.NXException.AssertErrorCode ( int  status)
inline

Assert if the error code is unexpected.

static NXException NXOpen.NXException.Create ( int  status)
inlinestatic

Creates an NXException.

static NXException NXOpen.NXException.Create ( string  message)
inlinestatic

Creates an NXException.

static NXException NXOpen.NXException.Create ( int  status,
string  message 
)
inlinestatic

Creates an NXException.

Property Documentation

int NXOpen.NXException.ErrorCode
get

Gets the error code associated with this exception.

override String NXOpen.NXException.Message
get

Gets the error message associated with this exception.

int NXOpen.NXException.UndoMark
get

Gets the undo mark associated with this exception.


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