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

Inherits: Progress.Lang.AppError


Copyright (c) 2013, 2015, 2018, 2020-2021 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.



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 () /* Default constructor */
  ApplicationError (Error) /* Constructor @param P.L.Error The error that caused this app error */
  ApplicationError (Stop) /* Constructor @param P.L.Error The error that caused this app error */

Property Summary
  Options Name Purpose
  Progress.Lang.Error InnerError
  Progress.Lang.Stop InnerStop


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 ()

/* Default constructor
Top

ApplicationError (Error)

/* Constructor
Parameters:
poInnerError Progress.Lang.Error
 
Top

ApplicationError (Stop)

/* Constructor
Parameters:
pInnerStop Progress.Lang.Stop
 


Property Detail
Top

Progress.Lang.Error InnerError

Returns Progress.Lang.Error
 
Top

Progress.Lang.Stop InnerStop

Returns Progress.Lang.Stop