Top Method Summary
Options Name Purpose
INTEGER GetStatusCode (Error) Returns the HTTP status code associated with the given error object

Top Constructor Summary
Options Name Purpose
WebErrorStatusCodeHelper () Protected default constructor


Method Detail
Top

INTEGER GetStatusCode (Error)

Purpose: Returns the HTTP status code associated with the given error object
Notes: Errors implementing one of the IHttp<nnn>Error marker interfaces are
mapped to the matching status code. In addition SessionExpiredException
maps to 401, NotAuthorizedException to 403, UnableToLaunchBusinessServiceException
and IInvalidResourceException to 404 and Progress.Lang.SysError to 500.
All other errors map to 500 (Internal Server Error)

Parameters:
poError Progress.Lang.Error
The reference to the error object to return the HTTP status code for
Returns INTEGER
The HTTP status code associated with the given error object


Constructor Detail
Top

WebErrorStatusCodeHelper ()

Purpose: Protected default constructor
Notes: Disallows instance creation of this static helper class



©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       16.08.2026 16:57:12