com.toshiba.tgcsapi
Class POSErrorEvent

java.lang.Object
  extended by com.toshiba.tgcsapi.POSEvent
      extended by 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
 
Method Summary
 int getErrorCode()
           
 int getErrorCodeExtended()
           
 int getErrorLocus()
           
 int getErrorResponse()
           
 java.lang.String getMessage()
           
 void setErrorResponse(int errorResponse)
          Sets the ErrorResponse for the virtual device to process.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

POSErrorEvent

public POSErrorEvent(int errorCode,
                     int errorCodeExt,
                     int errorLocus,
                     int errorResp,
                     java.lang.String message)
Constructor

Parameters:
errorCode -
errorCodeExt -
errorLocus -
errorResp -
message -
Method Detail

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