Consultor Eletrônico



Kbase P175895: Calling GetMessage() method of Progress.Lang.AppError object returns Progress.Lang.AppError_nnn wher
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/22/2010
Status: Unverified

SYMPTOM(s):

Calling GetMessage() method of Progress.Lang.AppError object

GetMessage() does not return a real error message

GetMessage() returns a string of "Progress.Lang.AppError_nnnnnn" where nnnnnn is some incrementing number

FACT(s) (Environment):

Windows
OpenEdge 10.2x
OpenEdge Category: Language (4GL/ABL)

CAUSE:

This is caused by the application code catching an error and rethrowing the error as the string representation of the original error

FIX:

Modify the application code so that it throws the proper error text (i.e. GetMessage() instead of the string representation of the object)