Namespace: OpenEdge.DataAdmin.Error
Class
DataContextError
Parent classes:
Inherits: OpenEdge.DataAdmin.Error.DataError

/* Copyright (c) 2010 by progress Software Corporation
/*
/* all rights reserved. no part of this program or document
/* may be reproduced in any form or by any means without
/* permission in writing from progress Software Corporation.
File:DataContextError
Author(s):hdaniels
Created:2010




Method Summary
Options Name Purpose
AddMessage (Error) /* allow return of multiple message from multiple errors */
CHARACTER TransformMessage (character, Error)
Inherited from OpenEdge.DataAdmin.Error.DataError

Constructor Summary
Options Name Purpose
DataContextError (character) /* Adds the message as message 1 and returnvalue. */
DataContextError (character, character, error) /* Adds the passed message as message 1 and returnvalue. The error is added as message 2 and inner error */
DataContextError (character, error) /* Adds the passed error's message as message 1 and returnvalue. The error is also added as inner error */

Property Summary
Options Name Purpose
INTEGER HTTPErrorNum
Inherited from OpenEdge.DataAdmin.Error.DataAdminError
Progress.Lang.Error InnerError
Inherited from OpenEdge.DataAdmin.Error.DataAdminError


Method Detail
Top

PUBLIC AddMessage (Error)

/* allow return of multiple message from multiple errors
Parameters:
e Progress.Lang.Error
Top

PROTECTED CHARACTER TransformMessage (character, Error)

Inherited from OpenEdge.DataAdmin.Error.DataError
Parameters:
cEntity CHARACTER
e Progress.Lang.Error
Returns CHARACTER


Constructor Detail
Top

PUBLIC DataContextError (character)

/* Adds the message as message 1 and returnvalue.
Parameters:
cMsg CHARACTER
Top

PUBLIC DataContextError (character, character, error)

/* Adds the passed message as message 1 and returnvalue.
The error is added as message 2 and inner error
Parameters:
cMsg CHARACTER
cEntity CHARACTER
e Progress.Lang.error
Top

PUBLIC DataContextError (character, error)

/* Adds the passed error's message as message 1 and returnvalue.
The error is also added as inner error
Parameters:
cEntity CHARACTER
e Progress.Lang.error


Property Detail
Top

PUBLIC INTEGER HTTPErrorNum

Inherited from OpenEdge.DataAdmin.Error.DataAdminError
Returns INTEGER
Top

PUBLIC Progress.Lang.Error InnerError

Inherited from OpenEdge.DataAdmin.Error.DataAdminError
Returns Progress.Lang.Error


Copyright © 2020 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 12.2.0