com.sap.ip.me.api.pios.rfid
Class RfidException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.sap.ip.me.api.services.MEException
              extended bycom.sap.ip.me.api.pios.PIOSException
                  extended bycom.sap.ip.me.api.pios.rfid.RfidException
All Implemented Interfaces:
java.io.Serializable

public class RfidException
extends PIOSException

An exception thrown when an error occurs during RFID operation.

Since:
MI 2.5
Author:
Abaco
See Also:
PIOSException, Serialized Form

Field Summary
static int RFID_CLOSE_FAILED
          Constant to indicate RFID hardware unloading failure.
static int RFID_HARDWARE_ERROR
          Constant to indicate an RFID engine error.
static int RFID_IDENTIFY_FAILED
          Constant to indicate a tag identification operation failure.
static int RFID_INVALID_TAG_TYPE_CONFIGURATION
          Constant to indicate an invalid tag type configuration file.
static int RFID_INVALID_TAG_TYPE_NAME
          Constant to indicate an invalid tag type has been requested.
static int RFID_OPEN_FAILED
          Constant to indicate RFID hardware initialization failed.
static int RFID_READ_FAILED
          Constant to indicate a tag read operation failure.
static int RFID_TAG_INDEX_OUT_OF_BOUNDS
          Constant to indicate an invalid tag index.
static int RFID_TAGID_LOCK_ERROR
          Constant to indicate a tag id lock operation failure.
static int RFID_TAGID_PROGRAM_ERROR
          Constant to indicate a program tag id operation failure.
static int RFID_TAGID_RESET_ERROR
          Constant to indicate a tag id reset operation failure.
static int RFID_UNABLE_TO_CONFIGURE
          Constant to indicate failure while configuring an RFID engine.
static int RFID_WRITE_FAILED
          Constant to indicate a tag write operation failure.
 
Fields inherited from class com.sap.ip.me.api.pios.PIOSException
ALREADY_CREATED, ALREADY_OPENED, CONFIGURATION_ERROR, GENERIC_ERROR, INVALID_OBJECT, INVALID_PARAMETER, INVALID_SYMBOLOGY, LIBRARY_NOT_LOADED, NOT_CREATED, NOT_OPENED, OUT_OF_MEMORY, SPECIFIC_PRINTER_ERROR, SPECIFIC_RFID_ERROR, SPECIFIC_SCANNER_ERROR, TIMEOUT, UNKNOWN_ERROR, UNSPECIFIED_ERROR, UNSUPPORTED
 
Constructor Summary
RfidException(int errorCode, java.lang.String message)
          Constructs a new RfidException with the specified error code and message.
RfidException(int errorCode, java.lang.Throwable cause)
          Constructs a new RfidException with the specified error code and cause.
RfidException(java.lang.String message)
          Constructs a new RfidException with the specified message.
RfidException(java.lang.Throwable cause)
          Constructs a new RfidException based on the stack trace of the thrown exception.
 
Methods inherited from class com.sap.ip.me.api.pios.PIOSException
getErrorCode, getException
 
Methods inherited from class com.sap.ip.me.api.services.MEException
getNestedException, getReason, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RFID_OPEN_FAILED

public static final int RFID_OPEN_FAILED
Constant to indicate RFID hardware initialization failed.

See Also:
Constant Field Values

RFID_CLOSE_FAILED

public static final int RFID_CLOSE_FAILED
Constant to indicate RFID hardware unloading failure.

See Also:
Constant Field Values

RFID_IDENTIFY_FAILED

public static final int RFID_IDENTIFY_FAILED
Constant to indicate a tag identification operation failure.

See Also:
Constant Field Values

RFID_READ_FAILED

public static final int RFID_READ_FAILED
Constant to indicate a tag read operation failure.

See Also:
Constant Field Values

RFID_WRITE_FAILED

public static final int RFID_WRITE_FAILED
Constant to indicate a tag write operation failure.

See Also:
Constant Field Values

RFID_INVALID_TAG_TYPE_CONFIGURATION

public static final int RFID_INVALID_TAG_TYPE_CONFIGURATION
Constant to indicate an invalid tag type configuration file.

See Also:
Constant Field Values

RFID_UNABLE_TO_CONFIGURE

public static final int RFID_UNABLE_TO_CONFIGURE
Constant to indicate failure while configuring an RFID engine.

See Also:
Constant Field Values

RFID_HARDWARE_ERROR

public static final int RFID_HARDWARE_ERROR
Constant to indicate an RFID engine error.

See Also:
Constant Field Values

RFID_TAGID_PROGRAM_ERROR

public static final int RFID_TAGID_PROGRAM_ERROR
Constant to indicate a program tag id operation failure.

See Also:
Constant Field Values

RFID_TAGID_LOCK_ERROR

public static final int RFID_TAGID_LOCK_ERROR
Constant to indicate a tag id lock operation failure.

See Also:
Constant Field Values

RFID_TAGID_RESET_ERROR

public static final int RFID_TAGID_RESET_ERROR
Constant to indicate a tag id reset operation failure.

See Also:
Constant Field Values

RFID_INVALID_TAG_TYPE_NAME

public static final int RFID_INVALID_TAG_TYPE_NAME
Constant to indicate an invalid tag type has been requested.

See Also:
Constant Field Values

RFID_TAG_INDEX_OUT_OF_BOUNDS

public static final int RFID_TAG_INDEX_OUT_OF_BOUNDS
Constant to indicate an invalid tag index.

See Also:
Constant Field Values
Constructor Detail

RfidException

public RfidException(java.lang.String message)
Constructs a new RfidException with the specified message.

Parameters:
message - the exception message

RfidException

public RfidException(int errorCode,
                     java.lang.String message)
Constructs a new RfidException with the specified error code and message.

Parameters:
errorCode - the error code number
message - the exception message

RfidException

public RfidException(java.lang.Throwable cause)
Constructs a new RfidException based on the stack trace of the thrown exception.

Parameters:
cause - the exception cause
See Also:
PIOSException.getException(java.lang.Throwable)

RfidException

public RfidException(int errorCode,
                     java.lang.Throwable cause)
Constructs a new RfidException with the specified error code and cause.

Parameters:
errorCode - the error code number
cause - the exception cause


Copyright © 2005 SAP AG. All Rights Reserved.