Taxonomy Categories:
Member Functions:
Interface Category:
API.
Inherits From:
TStandardException
Inherited By:
None.
Purpose:
Defines the exceptions thrown by time media classes.
Instantiation:
Allocate on the heap or the stack.
Deriving Classes:
Do not derive.
Concurrency:
Multithread safe.
Resource Use:
No special requirements.
- TTimeMediaException ()
- TTimeMediaException (ErrorType error)
Interface Category:
API.
Purpose:
- Default constructor.
- Construct a particular exception.
Calling Context:
- Call directly in catch construct or to create an exception that can be streamed into.
- Call directly in catch construct to create a particular exception.
Parameters:
- Takes no parameters.
- ErrorType error -The exception.
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Multithread safe.
Other Considerations:
None.
virtual ~ TTimeMediaException ()
Interface Category:
API.
Purpose:
Destructor.
Calling Context:
Called by runtime to destroy an object.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Multithread safe.
Other Considerations:
None.
virtual void Throw () const
Interface Category:
API.
Purpose:
Throws this exception object. Differs from a standard C++
throw *this;
where the thrown object is a clone of the argument object. The standard C++ throw would cut the object back to a TStandardException, thereby losing all information embodied by the derived class, which, for TStandardExceptions, is everything.
Calling Context:
Call directly in derived TimeMedia classes to generate an exception. Used by TimeMedia Frameworks .
Parameters:
Return Value:
None.
Exceptions:
Implements exceptions throw.
Concurrency:
Multithread safe.
Other Considerations:
All derived classes of TStandardException must override Throw() like this:
TMySubClass::Throw() const { throw *this;}.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.