|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--com.teravation.labjack.LabJackException
This is the standard exception thrown from all LabJack
operations. The errorcode
details the type of exception that occurred. Internationalized error messages are loaded from the appropriate
Locale's .properties file.
Constructor Summary | |
LabJackException()
Constructor (empty) |
|
LabJackException(int errorCode)
Constructor (takes underlying error code) |
|
LabJackException(java.lang.String s)
Constructor (takes underlying error message) |
Method Summary | |
int |
getErrorCode()
Returns the underlying error code for this exception. |
java.lang.String |
getLocalizedMessage()
Returns the localized error message string of this exception. |
java.lang.String |
getMessage()
Returns the error message string of this exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LabJackException()
public LabJackException(int errorCode)
errorCode
- the underlying error codepublic LabJackException(java.lang.String s)
Method Detail |
public int getErrorCode()
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |