Namespace: Consultingwerk.Util.Exceptions
Class 
UniqueIndexRequiredException Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.Exceptions.Exception
Implements: Consultingwerk.Exceptions.ISupportsInnerException, Consultingwerk.Exceptions.IProvidesSessionInfo

File:UniqueIndexRequiredException
Purpose:Exception thrown by methods that rely on buffers with unique
indexes
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Tue Feb 10 13:56:49 CET 2015



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 FromErrorMessageAndError (character, integer, Error) Creates an Exception using the given error message and number and Existing Error
Inherited from Consultingwerk.Exceptions.Exception

Top Constructor Summary
Options Name Purpose
+ UniqueIndexRequiredException (character, character) Constructor of the Exception class
+ UniqueIndexRequiredException (character, integer, character) Constructor of the Exception class
+ UniqueIndexRequiredException (character, integer, character, logical) Constructor of the Exception class
+ UniqueIndexRequiredException (character, logical) Builds and returns a unique record identifier composed from field values of either the primary unique index or the first unqiue index of the table

Top Property Summary
Options Name Purpose
+ CHARACTER BufferName Returns the name of the buffer that caused this exception
+ Progress.Lang.Error InnerException Returns the Error instance that caused the current exception.
Inherited from Consultingwerk.Exceptions.Exception
+ LOGICAL PrimaryRequired Returns if the calling method did require a Primary unique index
+ SessionInfo SessionInfo Returns the Information aboult the Session the error occured in
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 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


Constructor Detail
Top

PUBLIC UniqueIndexRequiredException (character, character)

Purpose: Constructor of the Exception class
Notes:

Parameters:
pcErrorString CHARACTER
The error message associated with this Exception object
pcBufferName CHARACTER
The name of the Buffer that caused this error
Top

PUBLIC UniqueIndexRequiredException (character, integer, character)

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
pcBufferName CHARACTER
The name of the Buffer that caused this error
Top

PUBLIC UniqueIndexRequiredException (character, integer, character, logical)

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
pcBufferName CHARACTER
The name of the Buffer that caused this error
plPrimaryRequired LOGICAL
Logical value indicating if the method that caused the exception did require a primary unique index
Top

PUBLIC UniqueIndexRequiredException (character, logical)

Purpose: Builds and returns a unique record identifier composed from field
values of either the primary unique index or the first unqiue index
of the table
Notes:

Parameters:
pcBufferName CHARACTER
The name of the buffer that caused the error
plPrimaryRequired LOGICAL
Logical value indicating if the method that caused the exception did require a primary unique index


Property Detail
Top

PUBLIC CHARACTER BufferName

Purpose: Returns the name of the buffer that caused this exception
Notes:

Returns CHARACTER
Top

PUBLIC Progress.Lang.Error InnerException

Inherited from Consultingwerk.Exceptions.Exception
Purpose: Returns the Error instance that caused the current exception.
Notes:

Returns Progress.Lang.Error
Top

PUBLIC LOGICAL PrimaryRequired

Purpose: Returns if the calling method did require a Primary unique index
Notes:

Returns LOGICAL
Top

PUBLIC SessionInfo SessionInfo

Inherited from Consultingwerk.Exceptions.Exception
Purpose: Returns the Information aboult the Session the error occured in
Notes:

Returns SessionInfo


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:46:27