Namespace: Consultingwerk.Exceptions
Class 
RecordAlreadyExistsException Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.Exceptions.Exception
Implements: Consultingwerk.Exceptions.ISupportsInnerException, Consultingwerk.Exceptions.ISupportsOriginalStackTrace, Consultingwerk.Exceptions.IProvidesSessionInfo
SERIALIZABLE

Purpose: Customization of the error message for ABL error 132 raised
during SAVE-ROW-CHANGES
Notes: ** Salesrep already exists with Sales Rep "bbb". (132)
&1 for the Table name, &2 for the field values
This property allows to set the (localized) default text for the
exception



Top Method Summary
Options Name Purpose
+ Consultingwerk.Exceptions.Exception AddMessagesFrom (Error) Adds error messages from another error to this Exception instance
Inherited from Consultingwerk.Exceptions.Exception
+ Consultingwerk.Exceptions.Exception AssignFromError (Error) Adds the messages and the original stack trace of the provided
Inherited from Consultingwerk.Exceptions.Exception
+ Consultingwerk.Exceptions.Exception FromErrorMessageAndError (character, integer, Error) Creates an Exception using the given error message and number and Existing Error
Inherited from Consultingwerk.Exceptions.Exception
+ Consultingwerk.Exceptions.RecordAlreadyExistsException FromSysError (SysError) Parses a SysError 132 and returns the RecordAlreadyExistsException with all detail

Top Constructor Summary
Options Name Purpose
+ RecordAlreadyExistsException () Constructor of the Exception class
+ RecordAlreadyExistsException (character) Constructor of the Exception class
+ RecordAlreadyExistsException (character, integer) Constructor of the Exception class
+ RecordAlreadyExistsException (Error) Constructor of the Exception class
+ RecordAlreadyExistsException (Error, character) Constructor of the Exception class
+ RecordAlreadyExistsException (Error, character, integer) Constructor of the Exception class
+ RecordAlreadyExistsException (Error, character, integer, character, character) Constructor of the Exception class
+ RecordAlreadyExistsException (Error, character, integer, character, character, character[]) Constructor of the Exception class

Top Property Summary
Options Name Purpose
+ CHARACTER FieldValues
+ Progress.Lang.Error InnerException
Inherited from Consultingwerk.Exceptions.Exception
+ CHARACTER MessageTemplate
+ CHARACTER OriginalStackTrace
Inherited from Consultingwerk.Exceptions.Exception
+ SessionInfo SessionInfo
Inherited from Consultingwerk.Exceptions.Exception
+ CHARACTER TableName
+ CHARACTER Values


Method Detail
Top

PUBLIC Consultingwerk.Exceptions.Exception AddMessagesFrom (Error)

Inherited from Consultingwerk.Exceptions.Exception
Purpose: Adds error messages from another error to this Exception instance
Notes:

Parameters:
poError Progress.Lang.Error
The error instance to add errors from
Returns Consultingwerk.Exceptions.Exception
The reference to the error (to be used in a throw statement)
Top

PUBLIC Consultingwerk.Exceptions.Exception AssignFromError (Error)

Inherited from Consultingwerk.Exceptions.Exception
Purpose: Adds the messages and the original stack trace of the provided
Notes:

Parameters:
poError Progress.Lang.Error
The original error
Returns Consultingwerk.Exceptions.Exception
The reference to the error (to be used in a throw statement)
Top

PUBLIC Consultingwerk.Exceptions.Exception FromErrorMessageAndError (character, integer, Error)

Inherited from Consultingwerk.Exceptions.Exception
Purpose: Creates an Exception using the given error message and number and
Existing Error
Notes: The messages from the existing error will be added to the new error
are well, useful for adding messages to ABL runtime errors

Parameters:
pcErrorString CHARACTER
The error message associated with this Exception object
piMessageNumber INTEGER
The error message number associated with this Exception object
poError Progress.Lang.Error
The reference to the original error
Returns Consultingwerk.Exceptions.Exception
The reference to the new Exception
Top

PUBLIC Consultingwerk.Exceptions.RecordAlreadyExistsException FromSysError (SysError)

Purpose: Parses a SysError 132 and returns the RecordAlreadyExistsException
with all detail
Notes:

Parameters:
poError Progress.Lang.SysError
The SysError to parse
Returns Consultingwerk.Exceptions.RecordAlreadyExistsException
The RecordAlreadyExistsException


Constructor Detail
Top

PUBLIC RecordAlreadyExistsException ()

Purpose: Constructor of the Exception class
Notes:

Top

PUBLIC RecordAlreadyExistsException (character)

Purpose: Constructor of the Exception class
Notes:

Parameters:
pcErrorString CHARACTER
The error message associated with this Exception object
Top

PUBLIC RecordAlreadyExistsException (character, integer)

Purpose: Constructor of the Exception class
Notes:

Parameters:
pcErrorString CHARACTER
The error message associated with this Exception object
piMessageNumber INTEGER
The error message number associated with this Exception object
Top

PUBLIC RecordAlreadyExistsException (Error)

Purpose: Constructor of the Exception class
Notes:

Parameters:
poInnerException Progress.Lang.Error
The reference to the original error
Top

PUBLIC RecordAlreadyExistsException (Error, character)

Purpose: Constructor of the Exception class
Notes:

Parameters:
poInnerException Progress.Lang.Error
The reference to the original error
pcErrorString CHARACTER
The error message associated with this Exception object
Top

PUBLIC RecordAlreadyExistsException (Error, character, integer)

Purpose: Constructor of the Exception class
Notes:

Parameters:
poInnerException Progress.Lang.Error
The reference to the original error
pcErrorString CHARACTER
The error message associated with this Exception object
piMessageNumber INTEGER
The error message number associated with this Exception object
Top

PUBLIC RecordAlreadyExistsException (Error, character, integer, character, character)

Purpose: Constructor of the Exception class
Notes:

Parameters:
poInnerException Progress.Lang.Error
The reference to the original error
pcErrorString CHARACTER
The error message associated with this Exception object
piMessageNumber INTEGER
The error message number associated with this Exception object
pcTableName CHARACTER
The value for the TableName property
pcFieldValues CHARACTER
The value for the FieldValues property
Top

PUBLIC RecordAlreadyExistsException (Error, character, integer, character, character, character[])

Purpose: Constructor of the Exception class
Notes:

Parameters:
poInnerException Progress.Lang.Error
The reference to the original error
pcErrorString CHARACTER
The error message associated with this Exception object
piMessageNumber INTEGER
The error message number associated with this Exception object
pcTableName CHARACTER
The value for the TableName property
pcFieldValues CHARACTER
The value for the FieldValues property
pcValues CHARACTER
The value for the Values property


Property Detail
Top

PUBLIC CHARACTER FieldValues


Returns CHARACTER
Top

PUBLIC Progress.Lang.Error InnerException

Inherited from Consultingwerk.Exceptions.Exception

Returns Progress.Lang.Error
Top

PUBLIC CHARACTER MessageTemplate


Returns CHARACTER
Top

PUBLIC CHARACTER OriginalStackTrace

Inherited from Consultingwerk.Exceptions.Exception

Returns CHARACTER
Top

PUBLIC SessionInfo SessionInfo

Inherited from Consultingwerk.Exceptions.Exception

Returns SessionInfo
Top

PUBLIC CHARACTER TableName


Returns CHARACTER
Top

PUBLIC CHARACTER Values


Returns CHARACTER


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       09.11.2024 18:36:48