| 
 | Java Card v2.2.2 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ServiceException | |
|---|---|
| javacard.framework.service | Provides a service framework of classes and interfaces that allow a Java Card technology-based applet to be designed as an aggregation of service components. | 
| Uses of ServiceException in javacard.framework.service | 
|---|
| Methods in javacard.framework.service that throw ServiceException | |
|---|---|
|  void | Dispatcher.addService(Service service,
           byte phase)Atomically adds the specified service to the dispatcher registry for the specified processing phase. | 
|  Exception | Dispatcher.dispatch(APDU command,
         byte phase)Manages the processing of the command in the APDUobject. | 
|  boolean | BasicService.fail(APDU apdu,
     short sw)Sets the processing state for the command in the APDUobject
 to processed, and indicates that the
 processing has failed. | 
|  short | BasicService.getOutputLength(APDU apdu)Returns the output length for the command in the APDUobject. | 
|  byte | BasicService.getP1(APDU apdu)Returns the first parameter byte for the command in the APDUobject. | 
|  byte | BasicService.getP2(APDU apdu)Returns the second parameter byte for the command in the APDUobject. | 
|  short | BasicService.getStatusWord(APDU apdu)Returns the response status word for the command in the APDUobject. | 
|  boolean | SecurityService.isAuthenticated(short principal)Checks whether or not the specified principal is currently authenticated. | 
|  boolean | SecurityService.isChannelSecure(byte properties)Checks whether a secure channel is established between the card and the host for the ongoing session that guarantees the indicated properties. | 
|  boolean | SecurityService.isCommandSecure(byte properties)Checks whether a secure channel is in use between the card and the host for the ongoing command that guarantees the indicated properties. | 
|  short | BasicService.receiveInData(APDU apdu)Receives the input data for the command in the APDUobject if the input
 has not already been
 received. | 
|  void | Dispatcher.removeService(Service service,
              byte phase)Atomically removes the specified service for the specified processing phase from the dispatcher registry. | 
|  void | BasicService.setOutputLength(APDU apdu,
                short length)Sets the output length of the outgoing response for the command in the APDUobject. | 
|  void | BasicService.setProcessed(APDU apdu)Sets the processing state of the command in the APDUobject to
 processed. | 
|  boolean | BasicService.succeed(APDU apdu)Sets the processing state for the command in the APDUobject
 to processed, and indicates that the
 processing has succeeded. | 
|  boolean | BasicService.succeedWithStatusWord(APDU apdu,
                      short sw)Sets the processing state for the command in the APDUobject
 to processed, and indicates that the
 processing has partially succeeded. | 
| static void | ServiceException.throwIt(short reason)Throws the Java Card runtime environment-owned instance of ServiceExceptionwith the
 specified reason. | 
| Constructors in javacard.framework.service that throw ServiceException | |
|---|---|
| Dispatcher(short maxServices)Creates a Dispatcherwith a designated maximum number of services. | |
| 
 | Java Card v2.2.2 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||