Declaration: MIDI.h
Taxonomy Categories:
Member Functions:
Interface Category:
API.
Inherits From:
TStandardException
Inherited By:
None.
Purpose:
Defines exceptions for MIDI.
Instantiation:
Allocate on the heap or the stack.
Deriving Classes:
Derive to provide more specific exception handling.
Concurrency:
Multithread safe.
Resource Use:
No special requirements.
virtual ~ TMIDIException ()
Interface Category:
API.
Purpose:
Destructor.
Calling Context:
Call this function directly.
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 this function directly.
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;}.
- TMIDIException ()
- TMIDIException (ErrorType error)
- TMIDIException (const TMIDIException &)
Interface Category:
API.
Purpose:
- Default constructor.
- Constructor.
- Copy constructor.
Calling Context:
- Called by the stream-in operators and to create an empty object.
- Call this function directly.
- Call this function directly.
Parameters:
- Takes no parameters.
- ErrorType error -The error number.
- const TMIDIException & -The object to copy.
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
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.