|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.tecit.jni.barcode.TBarCodeException
public class TBarCodeException
This class implements exceptions that are thrown by the native TBarCode DLL.
| Field Summary | |
|---|---|
static int |
ERR_OK
the error code if no error occurred |
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
int |
getErrorCode()
Get the error code. |
boolean |
isErrorCodeSet()
Determines if error the code has been set. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int ERR_OK
| Constructor Detail |
|---|
public TBarCodeException(java.lang.String message)
message - error message text
public TBarCodeException(java.lang.String message,
java.lang.Throwable cause)
message - error message textcause - original exception
public TBarCodeException(java.lang.String message,
int nErrorCode)
message - error message textnErrorCode - TBarCode error code| Method Detail |
|---|
public int getErrorCode()
public boolean isErrorCodeSet()
true if error code has been set, false otherwise.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||