PreviousNextIndex

GetMessageNum( ) method

Returns the error message number associated with the indexed error in the error object.

Return type: INTEGER

Access: PUBLIC

Applies to: Progress.Lang.ProError class

Syntax
GetMessageNum (INPUT MessageIndex AS INTEGER) 

MessageIndex

For Progress.Lang.SysError objects, the method returns the OpenEdge message number for the system generated error. For Progress.Lang.AppError objects, the application message number returned is the number provided to the AppError( ) constructor or the AddMessage( ) method. If there is no error message at the index, the method returns the empty string.

.NET Exception objects also do not use this method.

See also: NumMessages property, GetMessage( ) method (Class)


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex