Print Page as PDF
xobw.error.HttpError ICR (5461)

xobw.error.HttpError    ICR (5461)

Name Value
NUMBER 5461
IA # 5461
DATE CREATED 2009/06/10
CUSTODIAL PACKAGE WEB SERVICES CLIENT
USAGE Supported
TYPE Other
DBIC APPROVAL STATUS APPROVED
NAME xobw.error.HttpError
GENERAL DESCRIPTION
class xobw.error.HttpError extends
xobw.error.AbstractError

Error class used by the HWSC error processing sub-system when an HTTP error
occurs.
STATUS Active
DURATION Till Otherwise Agreed
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
code
property code As %String (TRUNCATE = 1)

Code associated with the error.
errorType
property errorType As %String (TRUNCATE = 1)

Human readable name for the type of error.
text
list property text As %String (TRUNCATE = 1)

Human readable text that provides information about the error.
statusLine
property statusLine As %String (TRUNCATE = 1)

The HTTP status line. This is the first line of the response and signals if
the request was sucessful or if there was a problem.
decompose
method decompose(ByRef error) returns nothing.

This method converts the HTTP error object properties into a traditional M
array.
VARIABLES TYPE VARIABLES DESCRIPTION
error Both
pass by reference.

Structure of ARRAY returned in reference parameter:

ARRAY("errorType") = type of error (HTTP)
ARRAY("code") = error code
ARRAY("statusLine") = error dcode
ARRAY("text") =
ARRAY("text",i..n) =
display
method display() returns nothing.

This method provides a simple display of the error using MUMPS WRITE commands.

Information displayed: - Class name - Properties:
- code
- statusLine
- text
DATE ACTIVATED: JUN 17, 2009