|
|||||||||
| 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
javacard.framework.CardRuntimeException
uicc.connection.ConnectionException
public class ConnectionException
Exception class for the uicc.connection package.
| Field Summary | |
|---|---|
static short |
CONNECTION_REFUSED
Reason code to indicate that the connection has been refused by the remote entity: 7 |
static short |
INVALID_HEADER_FIELD
Reason code to indicate that invalid header fields set by application |
static short |
INVALID_PARAMETERS
Reason code to indicate that the parameters are invalid: 8 |
static short |
INVALID_STATE
Reason code to indicate that the state of a connection or of a link does not correspond the requested action: 2 |
static short |
OPERATION_NOT_ALLOWED
Reason code to indicate that the requested operation is not allowed at this time: 6 |
static short |
OUT_OF_DATA_BOUNDARIES
Reason code to indicate that the requested action would cause access out of data: 5 |
static short |
RESOURCE_NOT_AVAILABLE
Reason code to indicate that there are insufficient resources on the UICC or on the terminal (e.g. |
static short |
SCP81_KEY_NOT_FOUND
Reason code to indicate that no SCP81 key could be found to establish the TLS session: 11 |
static short |
TIME_OUT
Reason code to indicate that the requested action was aborted because of a timeout: 3 |
static short |
TOOLKIT_RESOURCE_NOT_AVAILABLE
Reason code to indicate that a proactive session is pending |
static short |
TRANSPORT_PROTOCOL_NOT_SUPPORTED
Reason code to indicate that the transport protocol type is not supported: 0 |
static short |
UNSUPPORTED_OPERATION
Reason code to indicate that the terminal does not support the required mechanisms to perform the action: 9 |
static short |
USER_CANCELLATION
Reason code to indicate that the requested action was aborted by the user: 4 |
| Constructor Summary | |
|---|---|
ConnectionException(short sReason)
Construct a ConnectionException instance with the specified reason. |
|
| Method Summary | |
|---|---|
static void |
throwIt(short sReason)
Throws the JCRE instance of the ConnectionException class with
the specified reason. |
| Methods inherited from class javacard.framework.CardRuntimeException |
|---|
getReason, setReason |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final short TRANSPORT_PROTOCOL_NOT_SUPPORTED
public static final short TOOLKIT_RESOURCE_NOT_AVAILABLE
public static final short INVALID_STATE
public static final short TIME_OUT
public static final short USER_CANCELLATION
public static final short OUT_OF_DATA_BOUNDARIES
public static final short OPERATION_NOT_ALLOWED
public static final short CONNECTION_REFUSED
public static final short INVALID_PARAMETERS
public static final short UNSUPPORTED_OPERATION
public static final short RESOURCE_NOT_AVAILABLE
public static final short SCP81_KEY_NOT_FOUND
public static final short INVALID_HEADER_FIELD
| Constructor Detail |
|---|
public ConnectionException(short sReason)
throwIt() method to re-use the
JCRE instance of this class.
sReason - for the exception| Method Detail |
|---|
public static void throwIt(short sReason)
throws ConnectionException
ConnectionException class with
the specified reason.
sReason - for the exception.
ConnectionException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||