|
|||||||||
| 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.scws.ScwsException
public class ScwsException
Smart Card Webserver exception and its associated constants.
| Field Summary | |
|---|---|
static short |
BUFFER_OVERFLOW
This reason code (= 2) is used to indicate an overflow of the Response Buffer. |
static short |
HEADER_ALREADY_FINALIZED
This reason code (= 4) indicates that the header of the HTTP response was already finalized. |
static short |
HTTP_CODE_UNKNOWN
This reason code (= 9) is used to indicate that the indicated status code is unknown |
static short |
HTTP_RESPONSE_ALREADY_SENT
This reason code (= 1) is used to indicate that the Http response was already sent to the SCWS |
static short |
METHOD_NOT_SUPPORTED
This reason code (= 3) indicates that the HTTP method is not supported by the ScwsExtension applet. |
static short |
SCWSEXTENSION_REGISTRY_ERROR
This reason code (= 5) indicates an error in the SCWSExtension registry |
static short |
STATUS_LINE_ALREADY_SET
This reason code (= 8) is used to indicate that the status line has already been written by the SCWS |
static short |
UNKNOWN_KEYWORD_ID
This reason code (= 7) is used to indicate that an unknown keywordID was used |
static short |
UNREACHABLE_OFFSET
This reason code (= 6) is used to indicate that the requested offset could not be reached. |
| Constructor Summary | |
|---|---|
ScwsException(short arg0)
|
|
| Method Summary | |
|---|---|
static void |
throwIt(short reason)
Throws the JCRE instance of ScwsException 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 HTTP_RESPONSE_ALREADY_SENT
public static final short BUFFER_OVERFLOW
public static final short METHOD_NOT_SUPPORTED
ScwsExtension applet.
public static final short HEADER_ALREADY_FINALIZED
public static final short SCWSEXTENSION_REGISTRY_ERROR
public static final short UNREACHABLE_OFFSET
public static final short UNKNOWN_KEYWORD_ID
public static final short STATUS_LINE_ALREADY_SET
public static final short HTTP_CODE_UNKNOWN
| Constructor Detail |
|---|
public ScwsException(short arg0)
| Method Detail |
|---|
public static void throwIt(short reason)
throws ScwsException
reason - the reason for this exception
ScwsException - always
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||