Serialized Form

Class com.ibm.jc.JCException extends java.lang.RuntimeException implements Serializable

serialVersionUID: 1l

Serialized Fields

errorCode

int errorCode
APDU and off-card error codes. Values between 0 and 0xFFFF (inclusive) represent status codes as contained response APDUs.


apdu

byte[] apdu
The response APDU which triggered this exception or null if not supplied. The APDU can be supplied for further error parsing in higher software layers.


Class com.ibm.jc.JCRMIErrorException extends java.lang.RuntimeException implements Serializable

serialVersionUID: 1l

Serialized Fields

errorDetail

int errorDetail
Indicates the type of error.

See Also:
JCRMIErrorException.ERROR_INVALID_OID, JCRMIErrorException.ERROR_METHOD_NOT_FOUND, JCRMIErrorException.ERROR_SIGNATURE_MISMATCH, JCRMIErrorException.ERROR_RESOURCES_UNMARSHALL, JCRMIErrorException.ERROR_RESOURCES_MARSHALL, JCRMIErrorException.ERROR_JCRMI_PROTOCOL, JCRMIErrorException.ERROR_INTERNAL


Class com.ibm.jc.RemoteException extends java.lang.RuntimeException implements Serializable

Serialized Fields

isUserDefined

boolean isUserDefined
True if this represents a user defined exception, a JavaCard API defined exception otherwise.


reasonCode

int reasonCode
JavaCard exception reason code, or zero for java.lang, java.rmi, or java.io (or subclasses of them if this is a user defined exception).


type

int type
Indicates the type of JavaCard API exception. If this is a user defined exception it the closest API defined exception is indicated.

See Also:
RemoteException.TYPE_THROWABLE, RemoteException.TYPE_ARITHMETIC_EXCEPTION, RemoteException.TYPE_ARRAY_INDEX_OUT_OF_BOUNDS_EXCEPTION, RemoteException.TYPE_ARRAY_STORE_EXCEPTION, RemoteException.TYPE_CLASS_CAST_EXCEPTION, RemoteException.TYPE_EXCEPTION, RemoteException.TYPE_INDEX_OUT_OF_BOUNDS_EXCEPTION, RemoteException.TYPE_NEGATIVE_ARRAY_SIZE_EXCEPTION, RemoteException.TYPE_NULL_POINTER_EXCEPTION, RemoteException.TYPE_RUNTIME_EXCEPTION, RemoteException.TYPE_SECURITY_EXCEPTION, RemoteException.TYPE_IO_EXCEPTION, RemoteException.TYPE_REMOTE_EXCEPTION, RemoteException.TYPE_APDU_EXCEPTION, RemoteException.TYPE_CARD_EXCEPTION, RemoteException.TYPE_CARD_RUNTIME_EXCEPTION, RemoteException.TYPE_ISO_EXCEPTION, RemoteException.TYPE_PIN_EXCEPTION, RemoteException.TYPE_SYSTEM_EXCEPTION, RemoteException.TYPE_TRANSACTION_EXCEPTION, RemoteException.TYPE_USER_EXCEPTION, RemoteException.TYPE_CRYPTO_EXCEPTION, RemoteException.TYPE_SERVICE_EXCEPTION, RemoteException.toString()



Copyright (c) 2004, 2006 International Business Machines Corporation. All Rights Reserved.