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

File:DatasetException
Purpose:Exception raised by the DatasetHelper:ThrowDatasetErrors
method with the ERROR-STRING's of the ProDataset records
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Tue Oct 21 17:23:51 CEST 2014
Purpose: Constructor of the DatasetException class
Notes:



Top Method Summary
Options Name Purpose
+ 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 orignal 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
+ CHARACTER GetBufferName (integer) Returns the buffer name associated with the given message number
+ CHARACTER GetFieldName (integer) Returns the field name associated with the given message number
+ CHARACTER GetMessageText (integer) Returns the message text associated with the given message number

Top Constructor Summary
Options Name Purpose
+ DatasetException (character, integer) Constructor of the DatasetException class

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


Method Detail
Top

PUBLIC 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
Top

PUBLIC Consultingwerk.Exceptions.Exception AssignFromError (Error)

Inherited from Consultingwerk.Exceptions.Exception
Purpose: Adds the messages and the orignal 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 CHARACTER GetBufferName (integer)

Purpose: Returns the buffer name associated with the given message
number
Notes:

Parameters:
piMessageNum INTEGER
The number of the message to return the buffer name from
Returns CHARACTER
The buffer name or ? when no field is associated with the message
Top

PUBLIC CHARACTER GetFieldName (integer)

Purpose: Returns the field name associated with the given message
number
Notes:

Parameters:
piMessageNum INTEGER
The number of the message to return the field name from
Returns CHARACTER
The field name or ? when no field is associated with the message
Top

PUBLIC CHARACTER GetMessageText (integer)

Purpose: Returns the message text associated with the given message
number
Notes: The message text excludes the field and buffer name

Parameters:
piMessageNum INTEGER
The number of the message to return the message text from
Returns CHARACTER
The message text associated with the message


Constructor Detail
Top

PUBLIC DatasetException (character, integer)

Purpose: Constructor of the DatasetException class
Notes:

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


Property Detail
Top

PUBLIC Progress.Lang.Error InnerException

Inherited from Consultingwerk.Exceptions.Exception

Returns Progress.Lang.Error
Top

PUBLIC CHARACTER OriginalStackTrace

Inherited from Consultingwerk.Exceptions.Exception

Returns CHARACTER
Top

PUBLIC SessionInfo SessionInfo

Inherited from Consultingwerk.Exceptions.Exception

Returns SessionInfo


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 05:51:08