Open Core Interface - MLPI
MLPI-MotionLogicProgrammingInterface(mlpi4Java)  1.26.2
com.boschrexroth.mlpi.MlpiException Class Reference

Inherits RuntimeException.

Collaboration diagram for com.boschrexroth.mlpi.MlpiException:
Collaboration graph

Public Member Functions

 MlpiException ()
 
 MlpiException (int controlHandle, int errorNumber, String message)
 
 MlpiException (String message)
 
 MlpiException (Throwable cause)
 
 MlpiException (String message, Throwable cause)
 
int getErrorNumber ()
 
int getControlHandle ()
 

Detailed Description

Exception class for all MLPI runtime errors.

Definition at line 63 of file MlpiException.java.

Constructor & Destructor Documentation

com.boschrexroth.mlpi.MlpiException.MlpiException ( )
inline

This constructor creates a new mlpi exception.

Example Java:
MlpiException error = new MlpiException(connection.getConnectionHandle(), 0x01, "This is the error message");

Definition at line 74 of file MlpiException.java.

com.boschrexroth.mlpi.MlpiException.MlpiException ( int  controlHandle,
int  errorNumber,
String  message 
)
inline

This constructor creates a new mlpi exception with given control handle, error number and error message.

Parameters
[in]controlHandleControl handle.
[in]errorNumberError number.
[in]messageError message.
Example Java:
MlpiException error = new MlpiException(connection.getConnectionHandle(), 0x01, "This is the error message");

Definition at line 88 of file MlpiException.java.

com.boschrexroth.mlpi.MlpiException.MlpiException ( String  message)
inline

This constructor creates a new mlpi exception with given error message.

Parameters
[in]messageError message.
Example Java:
MlpiException error = new MlpiException("This is the error message");

Definition at line 103 of file MlpiException.java.

com.boschrexroth.mlpi.MlpiException.MlpiException ( Throwable  cause)
inline

This constructor creates a new mlpi exception with given cause.

Parameters
[in]causeError cause.

Definition at line 112 of file MlpiException.java.

com.boschrexroth.mlpi.MlpiException.MlpiException ( String  message,
Throwable  cause 
)
inline

This constructor creates a new mlpi exception with given error message and cause.

Parameters
[in]messageError message.
[in]causeError cause.

Definition at line 122 of file MlpiException.java.

Member Function Documentation

int com.boschrexroth.mlpi.MlpiException.getErrorNumber ( )
inline

This method returns the error number of the exception.

Returns
Returns the error number of the exception.

Definition at line 129 of file MlpiException.java.

int com.boschrexroth.mlpi.MlpiException.getControlHandle ( )
inline

This method returns the control handle of the exception.

Returns
Returns the control handle of the exception.

Definition at line 136 of file MlpiException.java.


The documentation for this class was generated from the following file: