Package com.zebra.rfid.api3
Class InvalidUsageException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.zebra.rfid.api3.InvalidUsageException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidUsageException extends java.lang.Exception
InvalidUsageException is thrown when an invalid usage is detected by the class library.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
InvalidUsageException(int readerHandle, java.lang.String sMessage, RFIDResults results)
InvalidUsageException(java.lang.String sMessage, java.lang.String ErrorString)
InvalidUsageException constructor with settable string and results enum.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getInfo()
The RFIDResults associated with the exception.java.lang.String
getTimeStamp()
The timeStamp associated with the exception.java.lang.String
getVendorMessage()
The vendor message associated with the exception.
-
-
-
Constructor Detail
-
InvalidUsageException
public InvalidUsageException(java.lang.String sMessage, java.lang.String ErrorString)
InvalidUsageException constructor with settable string and results enum.- Parameters:
sMessage
- A string the contains information about the exceptionErrorString
- Error string from string table
-
InvalidUsageException
protected InvalidUsageException(int readerHandle, java.lang.String sMessage, RFIDResults results)
-
-
Method Detail
-
getInfo
public java.lang.String getInfo()
The RFIDResults associated with the exception. An integer result that contains information about what caused the exception.
-
getTimeStamp
public java.lang.String getTimeStamp()
The timeStamp associated with the exception.
-
getVendorMessage
public java.lang.String getVendorMessage()
The vendor message associated with the exception.
-
-