Try OpenEdge Now
skip to main content
ABL Reference
Class Properties and Methods Reference : NumMessages property
 

NumMessages property

This property indicates how many error number and error message pairs are currently available in the error object.
Data type: INTEGER
Access: PUBLIC Read-only
Applies to: Progress.Lang.ProError class, System.Exception class (OpenEdge-enhanced)
In ABL, an error is represented as a pair of values including a message number and an error message. The message number is a unique number identifying the particular error. The error message is a string which describes the error.
For a .NET Exception object, the number of error number and error message pairs includes messages from any InnerException objects.

See also

GetMessage( ) method (Class), GetMessageNum( ) method