Taxonomy Categories:
Member Functions:
Interface Category:
API.
Inherits From:
TSQLException
Inherited By:
None.
Purpose:
This class defines the concrete exceptions that can be thrown by the Record Source framework as a result of an internal consistency failure. Clients should report all such errors and the conditions that lead to them directly to Taligent.
Instantiation:
Allocate on the heap or the stack.
Deriving Classes:
None.
Concurrency:
Not multithread safe.
Resource Use:
No special requirements.
Other Considerations:
None.
- TSQLInternalError (EReason err =kOther, const TText & details =TStandardText :: GetEmptyText ())
- TSQLInternalError (const TSQLInternalError &)
Interface Category:
API.
Purpose:
- Constructs an exception with the specified reason.
- Copy constructor.
Calling Context:
- Called to instantiate and initialize an object.
- Called to copy an object.
Parameters:
- EReason err =kOther -The exception reason.
- const TText & details =TStandardText :: GetEmptyText () -The text describing the reason for throwing the exception.
- const TSQLInternalError & -The exception to copy.
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
Exceptions are instantiated within the framework itself. Client instantiation is allowed but not expected.
virtual ~ TSQLInternalError ()
Interface Category:
API.
Purpose:
Destructor.
Calling Context:
Called to destroy an object.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
TSQLInternalError & operator =(const TSQLInternalError &)
Interface Category:
API.
Purpose:
Assignment operator.
Calling Context:
Called when an object is assigned to another compatible object.
Parameters:
Return Value:
A non-const reference to the left-hand side object.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
EReason GetReason () const
Interface Category:
API.
Purpose:
Returns the reason for instantiating and throwing the exception.
Calling Context:
Call this function directly.
Parameters:
Return Value:
The exception reason.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual void Throw () const
Interface Category:
API.
Purpose:
Throws this exception.
Calling Context:
Call this function directly.
Parameters:
Return Value:
None.
Exceptions:
Throws its associated exception.
Concurrency:
Not multithread safe.
Other Considerations:
None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.