next up previous contents
Next: Error codes and classes Up: MPI Environmental Management Previous: Implementation information   Contents

Error handling

The constants MPI_ERRORS_ARE_FATAL, MPI_ERRORS_RETURN are available as MPI.ERRORS_ARE_FATAL, MPI.ERRORS_RETURN.

If the effective error handler is MPI_ERRORS_RETURN, the wrapper codes will throw appropriate Java exceptions (see section A.7.3).

For now, we omit a specification of Java interface for creating new MPI error handlers, because the detailed interface of the handler function depends on unstandardized features of the MPI implementation.

static void Comm.errorhandlerSet(Errhandler errhandler)
errhandler new MPI error handler for communicator



Associates a new error handler with communicator at the calling process. Java binding of the MPI operation MPI_ERRORHANDLER_SET.

static Errhandler Comm.errorhandlerGet()
returns: MPI error handler currently associated with communicator



Returns the error handler currently associated with the communicator. Java binding of the MPI operation MPI_ERRORHANDLER_GET.



Bryan Carpenter 2002-07-12