Error and exception handling routines

The routines described in this section fall into two main categories:

  • Those that allow interpretation of error codes returned by other routines. Routines which fall into this category include ERR77 and DOS_ERROR_MESSAGE@. Where a routine returns an error code it is of course always good practice to check it for an acceptable value (usually zero).

  • Those that allow control over the action taken in the event of a software-generated exception. Exception handling routines in this section are currently for Win32 only. For information on handling .NET exceptions see Handling exceptions.

More...

ACCESS_DETAILS@

Gets details of the access violation.

CLEAR_FLT_UNDERFLOW@

Clears a floating point underflow exception.

DOS_ERROR_MESSAGE@

Gets a DOS error message.

DOSERR@

Prints a DOS error message when an error occurs.

ERR77

Prints a DOS error message and terminate a program when an error occurs.

ERROR@

Prints a user defined error message and terminate a program.

EXCEPTION_ADDRESS@

Finds the address of the instruction that generated the exception.

FORTRAN_ERROR_MESSAGE@

Gets a Fortran error message.

GET_VIRTUAL_COMMON_INFO@

Gets virtual common block details.

JUMP@

Executes a non-local jump.

LABEL@

Sets a label for a non-local jump.

PERMIT_UNDERFLOW@

Switches off floating point underflow checking.

PRERR@

Prints the error message associated with a given error code.

QUIT_CLEANUP@

Prints a message and exit from a program with Control-break.

RESTORE_DEFAULT_HANDLER@

Removes a user defined exception handler.

RUNERR@

Prints the run-time error corresponding to a given IOSTAT value.

SET_DISK_ERRORS@

Controls the critical event handler.

SET_TRAP@

Traps a given event.

TRAP_EXCEPTION@

Installs a user defined exception handler.

UNDERFLOW_COUNT@

Gets the number of floating point underflows.

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited