Package mpi

Class MPIException

All Implemented Interfaces:
Serializable

public final class MPIException extends Exception
Signals that an MPI exception of some sort has occurred.

The Java binding of the MPI operation MPI_Error_string is the method getMessage, which is inherited from the class Exception.

See Also:
  • Constructor Details

    • MPIException

      protected MPIException(int code, int clazz, String message)
    • MPIException

      public MPIException(String message)
      Creates an exception.
      Parameters:
      message - message associated to the exception
    • MPIException

      public MPIException(Throwable cause)
      Creates an exception:
      Parameters:
      cause - cause associated to the exception
  • Method Details

    • getErrorCode

      public int getErrorCode()
      Gets the MPI error code.
      Returns:
      error code
    • getErrorClass

      public int getErrorClass()
      Gets the MPI error class.
      Returns:
      error class