8.9.1. MDOException¶
- MDOException¶
Represent an error occurred while running MindOpt application
Methods
Construct an error with an error code
Construct an error with an error message
Construct an error using error messages and error code
Retrieve the error code
- MDOException(int errcode)¶
Construct an error with an error code
- Parameters
int errcode – Error Code
- MDOException(String errmsg)¶
Construct an error with an error message
- Parameters
String errmsg – Error message
- MDOException(String errmsg, int errcode)¶
Construct an error using error messages and error code
- Parameters
String errmsg – Error message
int errcode – Error Code
- int getErrorCode()¶
Retrieve the error code
- Returns
The error code