Q3Error_Get |
( TQ3Error ) Q3Error_Get ( TQ3Error *firstError );
Retrieve latest error codes from Quesa.
Retrieve the most recent error code, and optionally also the oldest
unreported error code. After this call, the next Quesa call that is not
part of the Error Manager will clear the error codes.
- firstError
- Pointer to variable to receive the oldest error code that has not yet been reported. May be NULL if you don't need that information.
Q3Error_IsFatalError |
( TQ3Boolean ) Q3Error_IsFatalError ( TQ3Error error );
Determine whether a Quesa error code is fatal.
You can call this function from an error callback or after getting
an error code with Q3Error_Get. If the error is fatal, your application
should quit without calling any other Quesa routines.
- error
- A Quesa error code.
Q3Error_PlatformGet |
( TQ3Uns32 ) Q3Error_PlatformGet ( TQ3Uns32 *firstErr );
Gets platform-specific error codes.
This is a generalization of Q3MacintoshError_Get, and may be used in place
of Q3MacintoshError_Get on the Macintosh platform.
If an error callback or Q3Error_Get returns one of the special error codes
kQ3ErrorMacintoshError, kQ3ErrorWin32Error, kQ3ErrorUnixError,
kQ3ErrorPlatformError, you can call this function to retrieve
platform-specific error codes.
After this call, the next Quesa call that is not part of the Error Manager
will clear the platform-specific error codes.
This function is not available in QD3D.
- firstErr
- Pointer to variable to receive the oldest unreported platform-specific error code. May be NULL if you don't need that information.
Q3Error_PlatformPost |
( void ) Q3Error_PlatformPost ( TQ3Uns32 theErr );
Posts a platform-specific error code.
Normally this would be used only by Quesa plug-ins, not by application code.
This function is not available in QD3D.
- theErr
- A platform-specific error code.
Q3Error_Register |
( TQ3Status ) Q3Error_Register ( TQ3ErrorMethod errorPost, TQ3Int32 reference );
Install a callback to handle errors.
Use this function to register an error-handling function that will be
called when Quesa detects an error condition that it can't handle.
Your callback should not call Quesa except for Error Manager routines.
- errorPost
- Callback to receive error notifications.
- reference
- Constant passed to error callback.
Q3Error_ToString |
( const char * ) Q3Error_ToString ( TQ3Language theLanguage, TQ3Error theError );
Retrieve a string version of the error code.
This function is not available in QD3D.
- theLanguage
- Preferred language for the error string. Currently only English is supported.
- theError
- Quesa error code.
Q3MacintoshError_Get |
( OSErr ) Q3MacintoshError_Get ( OSErr *firstMacErr );
Retrieve the most recent Macintosh error code, and optionally also the oldest
unreported Mac error code. After this call, the next Quesa call that is not
part of the Error Manager will clear the error codes.
Q3Error_PlatformGet may be used in place of this function.
- firstMacErr
- Pointer to variable to receive the oldest Mac error code that has not yet been reported. May be NULL if you don't need that information.
Q3Notice_Get |
( TQ3Notice ) Q3Notice_Get ( TQ3Notice *firstNotice );
Retrieve latest notice codes from Quesa.
Retrieve the most recent notice code, and optionally also the oldest
unreported notice code. After this call, the next Quesa call that is not
part of the Error Manager will clear the notice codes.
- firstNotice
- Pointer to variable to receive the oldest notice code that has not yet been reported. May be NULL if you don't need that information.
Q3Notice_Register |
( TQ3Status ) Q3Notice_Register ( TQ3NoticeMethod noticePost, TQ3Int32 reference );
Install a callback to handle notifications.
Use this function to register an warning-handling function that will be
called when a Quesa routine generates a notice.
This will only happen in debugging versions of Quesa.
Your callback should not call Quesa except for Error Manager routines.
- noticePost
- Routine to be called to handle notices.
- reference
- Constant passed to notice callback.
Q3Notice_ToString |
( const char * ) Q3Notice_ToString ( TQ3Language theLanguage, TQ3Notice theError );
Retrieve a string version of the notice code.
This function is not available in QD3D.
- theLanguage
- Preferred language for the notice string. Currently only English is supported.
- theWarning
- Quesa notice code.
Q3Warning_Get |
( TQ3Warning ) Q3Warning_Get ( TQ3Warning *firstWarning );
Retrieve latest warning codes from Quesa.
Retrieve the most recent warning code, and optionally also the oldest
unreported warning code. After this call, the next Quesa call that is not
part of the Error Manager will clear the warning codes.
- firstWarning
- Pointer to variable to receive the oldest warning code that has not yet been reported. May be NULL if you don't need that information.
Q3Warning_Register |
( TQ3Status ) Q3Warning_Register ( TQ3WarningMethod warningPost, TQ3Int32 reference );
Install a callback to handle warnings.
Use this function to register an warning-handling function that will be
called when a Quesa routine generates a warning that it can't handle.
Your callback should not call Quesa except for Error Manager routines.
- warningPost
- Callback to receive warning notifications.
- reference
- Constant passed to warning callback.
Q3Warning_ToString |
( const char * ) Q3Warning_ToString ( TQ3Language theLanguage, TQ3Warning theWarning );
Retrieve a string version of the warning code.
This function is not available in QD3D.
- theLanguage
- Preferred language for the warning string. Currently only English is supported.
- theWarning
- Quesa warning code.
© 1999-2008 Quesa Developers (Last Updated 5/10/2008)