|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.ibm.jc.JCRMIErrorException
Abstraction repesenting an error condition occured on the card during JCRMI processing.
| Field Summary | |
static int |
ERROR_INTERNAL
Error detail: Internal error occured. |
static int |
ERROR_INVALID_OID
Error detail: The Remote Object Identifier is invalid or ineligible for JavaCard RMI |
static int |
ERROR_JCRMI_PROTOCOL
Error detail: JavaCard Remote Method Invocation protocol error. |
static int |
ERROR_METHOD_NOT_FOUND
Error detail: The Remote Method could not be identified. |
static int |
ERROR_RESOURCES_MARSHALL
Error detail: Insufficient resources available to marshall response. |
static int |
ERROR_RESOURCES_UNMARSHALL
Error detail: Insufficient resources available to unmarshall parameters. |
static int |
ERROR_SIGNATURE_MISMATCH
Error detail: The Remote Method signature did not match the parameter format. |
int |
errorDetail
Indicates the type of error. |
| Constructor Summary | |
JCRMIErrorException(byte[] error,
int offset,
java.lang.String message)
Creates a JCRMIErrorException |
|
JCRMIErrorException(int errorDetail,
java.lang.String message)
Creates a JCRMIErrorException |
|
| Method Summary | |
java.lang.String |
detailString()
Returns the error detail as textual description. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int ERROR_INVALID_OID
public static final int ERROR_METHOD_NOT_FOUND
public static final int ERROR_SIGNATURE_MISMATCH
public static final int ERROR_RESOURCES_UNMARSHALL
public static final int ERROR_RESOURCES_MARSHALL
public static final int ERROR_JCRMI_PROTOCOL
public static final int ERROR_INTERNAL
public int errorDetail
ERROR_INVALID_OID,
ERROR_METHOD_NOT_FOUND,
ERROR_SIGNATURE_MISMATCH,
ERROR_RESOURCES_UNMARSHALL,
ERROR_RESOURCES_MARSHALL,
ERROR_JCRMI_PROTOCOL,
ERROR_INTERNAL| Constructor Detail |
public JCRMIErrorException(int errorDetail,
java.lang.String message)
JCRMIErrorException object from the given information.
- Parameters:
errorDetail - The exception detail code.message - Some message or null.
public JCRMIErrorException(byte[] error,
int offset,
java.lang.String message)
JCRMIErrorException object by decoding the given error response.
- Parameters:
error - Array holding the error response.offset - Offset into error.message - Some message or null.
- Throws:
JCException - If an error occurs while decoding the error response.| Method Detail |
public java.lang.String detailString()
The Remote Method could not be identified.).public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||