Namespace: Consultingwerk.OERA.BusinessEntityDescriptor.Exceptions
Class 
MissingAnnotationAttributeException Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.OERA.BusinessEntityDescriptor.Exceptions.BusinessEntityDescriptorException
Implements: Consultingwerk.Exceptions.ISupportsInnerException, Consultingwerk.Exceptions.ISupportsOriginalStackTrace, IProvidesSessionInfo
SERIALIZABLE

File:MissingAnnotationAttributeException
Purpose:Exception thrown when mantatory annotation attributes
are missing when building the Business Entity Descritor
from class annotations
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sun Jul 12 14:04:51 CEST 2015
Purpose: Returns the name of the missing annotation attribute
Notes:



Top Method Summary
Options Name Purpose
+ AddMessagesFrom (Error) Adds error messages from another error to this Exception instance
Inherited from Consultingwerk.Exceptions.Exception
+ Exception AssignFromError (Error) Adds the messages and the orignal stack trace of the provided
Inherited from Consultingwerk.Exceptions.Exception
+ 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
+ MissingAnnotationAttributeException (character, integer, character, character) Constructor of the BusinessEntityDescriptorException class

Top Property Summary
Options Name Purpose
+ CHARACTER AnnotationAttributeName
+ CHARACTER BusinessEntityName
Inherited from Consultingwerk.OERA.BusinessEntityDescriptor.Exceptions.BusinessEntityDescriptorException
+ 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 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 Exception
The reference to the error (to be used in a throw statement
Top

PUBLIC 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 Exception
The reference to the new Exception


Constructor Detail
Top

PUBLIC MissingAnnotationAttributeException (character, integer, character, character)

Purpose: Constructor of the BusinessEntityDescriptorException class
Notes:

Parameters:
pcErrorString CHARACTER
The error message associated with this Exception object
piMessageNumber INTEGER
The error message number associated with this Exception object
pcBusinessEntityName CHARACTER
The name of the Business Entity associated with this error
pcAttributeName CHARACTER
The name of the missing annotation attribute


Property Detail
Top

PUBLIC CHARACTER AnnotationAttributeName


Returns CHARACTER
Top

PUBLIC CHARACTER BusinessEntityName

Inherited from Consultingwerk.OERA.BusinessEntityDescriptor.Exceptions.BusinessEntityDescriptorException

Returns CHARACTER
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:52:07