public class ErrorInfo
extends java.lang.Throwable
| Modifier and Type | Field and Description |
|---|---|
static int |
FAILURE
returned by get_error_code() indicating that no error occured
|
static int |
SUCCESS
returned by get_error_code() indicating that some error occured
|
| Constructor and Description |
|---|
ErrorInfo(int err_code,
java.lang.String err_msg)
Creates the ErrorInfo exception object thrown by the
Mimic package on error conditions.
|
| Modifier and Type | Method and Description |
|---|---|
int |
get_error_code()
Get the error code for this exception
|
java.lang.String |
get_error_msg()
Get the error message string for this exception
|
java.lang.String |
getLocalizedMessage() |
java.lang.String |
getMessage() |
public static final int SUCCESS
public static final int FAILURE
public ErrorInfo(int err_code,
java.lang.String err_msg)
err_code - (IN) error codeerr_msg - (IN) error message for detailspublic int get_error_code()
public java.lang.String get_error_msg()
public java.lang.String getLocalizedMessage()
getLocalizedMessage in class java.lang.Throwablepublic java.lang.String getMessage()
getMessage in class java.lang.Throwable