. |
MPX Error Handling MPX Software Topics > Error Handling
The MPX uses exceptions and assertions for error handling purposes. Exceptions contain a value from the Mpx.Error enumeration, which can be used to make runtime error handling decisions, as well as an additional text message that may be useful in logs or dialog boxes during debugging. Assertions do not resemble .NET assertions. MPX assertions will create an exception with an Mpx.Error.Assertion value. Additionally, an assertion event will be invoked if the application adds a delegate to the event. This allows a way for users to be able to recognize when an assertion has occurred, log it, and then perform any actions deemed appropriate thereafter. It is strongly recommended that at this point, an application safely shut down as soon as possible and any information related to the assertion be forwarded to Kollmorgen for analysis. Exception Programming Interface Mpx.Exception
|
| | Copyright © 2001-2021 Motion Engineering |