Namespace: OpenEdge.Core.System
Class
ApplicationError
Parent classes:
Progress.Lang.AppError

Inherits: Progress.Lang.AppError

Copyright (c) 2013, 2015, 2018 by Progress Software Corporation. All rights reserved.
File:OpenEdge.Core.System.ApplicationError
Author(s):pjudge
Created:Mon Mar 09 10:37:02 EDT 2009
Notes:* Based on the AutoEdge|TheFactory version
/* Registry of error strings. These can be added via




Method Summary
Options Name Purpose
AddError (Class, character, longchar) /** Registers an error's texts. Works on last-in-wins basis, so if an error text is registered multiple times, the last one wins. @param Progress.Lang.Class The application error type @param character The short message @param lonchar The complete, long error description */
Progress.Lang.Object Clone ()
LONGCHAR GetErrorMessage () /** Returns the resolved/substituted message text for the error. Note that this excludes the inner error, if any. @return longchar A resolved version of the error message. */
CHARACTER GetShortMessage () /** Returns the resolved/substituted short message for the error. Note that this excludes the inner error, if any. @return character A resolve string version of the short message. */
CHARACTER ToString ()

Constructor Summary
Options Name Purpose
ApplicationError ()
ApplicationError ()
ApplicationError (Error) /* Severity can/will be overwritten by individual Error */

Property Summary
Options Name Purpose
Progress.Lang.Error InnerError


Method Detail
Top

AddError (Class, character, longchar)

Purpose: Registers an error's texts. Works on last-in-wins basis,
so if an error text is registered multiple times, the last
one wins.
Parameters:
poType Progress.Lang.Class
pcShortMessage CHARACTER
pcMessage LONGCHAR
Top

Progress.Lang.Object Clone ()

Returns Progress.Lang.Object
Top

LONGCHAR GetErrorMessage ()

Purpose: Returns the resolved/substituted message text for the error. Note
that this excludes the inner error, if any.
Returns LONGCHAR
longchar A resolved version of the error message.
Top

CHARACTER GetShortMessage ()

Purpose: Returns the resolved/substituted short message for the error. Note
that this excludes the inner error, if any.
Returns CHARACTER
character A resolve string version of the short message.
Top

CHARACTER ToString ()

Returns CHARACTER


Constructor Detail
Top

STATIC ApplicationError ()

Top

ApplicationError ()

Top

ApplicationError (Error)

/* Severity can/will be overwritten by individual Error
Parameters:
poInnerError Progress.Lang.Error


Property Detail
Top

Progress.Lang.Error InnerError

Returns Progress.Lang.Error


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15