程序包 mpi

类 MPIException

所有已实现的接口:
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.

另请参阅:
  • 构造器详细资料

    • MPIException

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

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

      public MPIException(Throwable cause)
      Creates an exception:
      参数:
      cause - cause associated to the exception
  • 方法详细资料

    • getErrorCode

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

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