com.toshiba.tgcsapi
Class POSErrorEvent
java.lang.Object
com.toshiba.tgcsapi.POSEvent
com.toshiba.tgcsapi.POSErrorEvent
public class POSErrorEvent
- extends POSEvent
Constructor Summary |
POSErrorEvent(int errorCode,
int errorCodeExt,
int errorLocus,
int errorResp,
java.lang.String message)
Constructor |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POSErrorEvent
public POSErrorEvent(int errorCode,
int errorCodeExt,
int errorLocus,
int errorResp,
java.lang.String message)
- Constructor
- Parameters:
errorCode
- errorCodeExt
- errorLocus
- errorResp
- message
-
getErrorCode
public int getErrorCode()
- Returns:
- the ErrorCode
getErrorCodeExtended
public int getErrorCodeExtended()
- Returns:
- the ErrorCodeExtended
getErrorLocus
public int getErrorLocus()
- Returns:
- the ErrorLocus
getErrorResponse
public int getErrorResponse()
- Returns:
- the ErrorResponse
setErrorResponse
public void setErrorResponse(int errorResponse)
- Sets the ErrorResponse for the virtual device to process.
- Parameters:
errorResponse
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class POSEvent