Namespace: OpenEdge.Web
Class
SendExceptionError
Parent classes:
Inherits: OpenEdge.Core.System.ApplicationError

Copyright (c) 2015-2016, 2020 by Progress Software Corporation. All rights reserved.
File:SendExceptionError
Author(s):lecuyer
Created:Fri Sep 11 2015
/* (mandatory) The error HTTP status code.




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 */
Inherited from OpenEdge.Core.System.ApplicationError
Object Clone ()
Inherited from OpenEdge.Core.System.ApplicationError
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. */
Inherited from OpenEdge.Core.System.ApplicationError
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. */
Inherited from OpenEdge.Core.System.ApplicationError
SetMessage (StatusCodeEnum, character) /* Sets the status code & message in the appropriate places @param StatusCodeEnum The status code for this error @param character A message associated with the status code. May be ? nbut not empty */
CHARACTER ToString ()
Overrides OpenEdge.Core.System.ApplicationError:ToString ()

Constructor Summary
Options Name Purpose
SendExceptionError ()
SendExceptionError (StatusCodeEnum) /* Constructor. @param StatusCodeEnum The error status being raised */
SendExceptionError (StatusCodeEnum, character) /* Constructor. @param StatusCodeEnum The error status being raised @param character The status message */
SendExceptionError (StatusCodeEnum, character, Error) /* Constructor. @param StatusCodeEnum The error status being raised @param character The status message @param Progress.Lang.Error The error that caused this status error to be raised. */
SendExceptionError (StatusCodeEnum, character, Stop) /* Constructor. @param StatusCodeEnum The error status being raised @param character The status message @param Progress.Lang.Error The error that caused this status error to be raised. */
SendExceptionError (StatusCodeEnum, Error) /* Constructor. @param StatusCodeEnum The error status being raised @param Progress.Lang.Error The error that caused this status error to be raised. */
SendExceptionError (StatusCodeEnum, Stop) /* Constructor. @param StatusCodeEnum The error status being raised @param Progress.Lang.Error The error that caused this status error to be raised. */

Property Summary
Options Name Purpose
Progress.Lang.Error InnerError
Inherited from OpenEdge.Core.System.ApplicationError
Progress.Lang.Stop InnerStop
Inherited from OpenEdge.Core.System.ApplicationError
OpenEdge.Net.HTTP.StatusCodeEnum StatusCode
CHARACTER StatusMessage


Method Detail
Top

PROTECTED AddError (Class, character, longchar)

Inherited from OpenEdge.Core.System.ApplicationError
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

PUBLIC Object Clone ()

Inherited from OpenEdge.Core.System.ApplicationError
Returns Object
Top

PUBLIC LONGCHAR GetErrorMessage ()

Inherited from OpenEdge.Core.System.ApplicationError
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

PUBLIC CHARACTER GetShortMessage ()

Inherited from OpenEdge.Core.System.ApplicationError
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

PRIVATE SetMessage (StatusCodeEnum, character)

/* Sets the status code & message in the appropriate places
Parameters:
pStatusCode OpenEdge.Net.HTTP.StatusCodeEnum
pStatusMessage CHARACTER
Top

PUBLIC CHARACTER ToString ()

Overrides OpenEdge.Core.System.ApplicationError:ToString ()
Returns CHARACTER


Constructor Detail
Top

STATIC SendExceptionError ()

Top

PUBLIC SendExceptionError (StatusCodeEnum)

/* Constructor.
Parameters:
poStatusCode OpenEdge.Net.HTTP.StatusCodeEnum
Top

PUBLIC SendExceptionError (StatusCodeEnum, character)

/* Constructor.
Parameters:
poStatusCode OpenEdge.Net.HTTP.StatusCodeEnum
pcStatusMessage CHARACTER
Top

PUBLIC SendExceptionError (StatusCodeEnum, character, Error)

/* Constructor.
Parameters:
poStatusCode OpenEdge.Net.HTTP.StatusCodeEnum
pcStatusMessage CHARACTER
poInnerError Progress.Lang.Error
Top

PUBLIC SendExceptionError (StatusCodeEnum, character, Stop)

/* Constructor.
Parameters:
pStatusCode OpenEdge.Net.HTTP.StatusCodeEnum
pStatusMessage CHARACTER
pInnerStop Progress.Lang.Stop
Top

PUBLIC SendExceptionError (StatusCodeEnum, Error)

/* Constructor.
Parameters:
poStatusCode OpenEdge.Net.HTTP.StatusCodeEnum
poInnerError Progress.Lang.Error
Top

PUBLIC SendExceptionError (StatusCodeEnum, Stop)

/* Constructor.
Parameters:
pStatusCode OpenEdge.Net.HTTP.StatusCodeEnum
pInnerStop Progress.Lang.Stop


Property Detail
Top

PUBLIC Progress.Lang.Error InnerError

Inherited from OpenEdge.Core.System.ApplicationError
Returns Progress.Lang.Error
Top

PUBLIC Progress.Lang.Stop InnerStop

Inherited from OpenEdge.Core.System.ApplicationError
Returns Progress.Lang.Stop
Top

PUBLIC OpenEdge.Net.HTTP.StatusCodeEnum StatusCode

Returns OpenEdge.Net.HTTP.StatusCodeEnum
Top

PUBLIC CHARACTER StatusMessage

Returns CHARACTER


Copyright © 2020 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 12.2.0