程序包 mpi
类 MPIException
java.lang.Object
java.lang.Throwable
java.lang.Exception
mpi.MPIException
- 所有已实现的接口:
Serializable
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.
- 另请参阅:
-
构造器概要
构造器限定符构造器说明protected
MPIException
(int code, int clazz, String message) MPIException
(String message) Creates an exception.MPIException
(Throwable cause) Creates an exception: -
方法概要
修饰符和类型方法说明int
Gets the MPI error class.int
Gets the MPI error code.
-
构造器详细资料
-
MPIException
-
MPIException
Creates an exception.- 参数:
message
- message associated to the exception
-
MPIException
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
-