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 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 MPI.Errorhandler_set(Errhandler errhandler)
Java binding of the MPI operation MPI_ERRORHANDLER_SET.

static Errhandler MPI.Errorhandler_get()
Java binding of the MPI operation MPI_ERRORHANDLER_GET. The return value is errhandler.



Bryan Carpenter 2002-07-12