Package mpi
Class MPIException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- mpi.MPIException
-
- All Implemented Interfaces:
java.io.Serializable
public final class MPIException extends java.lang.ExceptionSignals that an MPI exception of some sort has occurred.The Java binding of the MPI operation
MPI_Error_stringis the methodgetMessage, which is inherited from the class Exception.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMPIException(int code, int clazz, java.lang.String message)MPIException(java.lang.String message)Creates an exception.MPIException(java.lang.Throwable cause)Creates an exception:
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetErrorClass()Gets the MPI error class.intgetErrorCode()Gets the MPI error code.
-
-
-
Constructor Detail
-
MPIException
protected MPIException(int code, int clazz, java.lang.String message)
-
MPIException
public MPIException(java.lang.String message)
Creates an exception.- Parameters:
message- message associated to the exception
-
MPIException
public MPIException(java.lang.Throwable cause)
Creates an exception:- Parameters:
cause- cause associated to the exception
-
-