public class TBarCodeException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
static int |
ERR_OK
the error code if no error occurred
|
Constructor and Description |
---|
TBarCodeException(java.lang.String message)
Constructor - text only
|
TBarCodeException(java.lang.String message,
int nErrorCode)
Constructor - text, error code
|
TBarCodeException(java.lang.String message,
java.lang.Throwable cause)
Constructor - text, original exception
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Get the error code.
|
boolean |
isErrorCodeSet()
Determines if error the code has been set.
|
public static final int ERR_OK
public TBarCodeException(java.lang.String message)
message
- error message textpublic TBarCodeException(java.lang.String message, java.lang.Throwable cause)
message
- error message textcause
- original exceptionpublic TBarCodeException(java.lang.String message, int nErrorCode)
message
- error message textnErrorCode
- TBarCode error code